[vlc-devel] [vlc-commits] block: only do the size test when it's meaningful

Steve Lhomme robux4 at ycbcr.xyz
Wed Jul 11 18:22:15 CEST 2018


I think you are confusing 06d86ae4088fd49e69ff6e47c2f6f31e4530f975 and 
7a699a45da1e5f622a375cec405b98c3cc5715d3.


On 2018-07-11 18:17, Rémi Denis-Courmont wrote:
> Le keskiviikkona 11. heinäkuuta 2018, 12.21.50 EEST Steve Lhomme a écrit :
>> oops commit. Anyway I think there's something wrong with this check. If
>> uintmax_t and size_t have the same size the cast won't check anything.
>> Whereas st_size is an off_t which may be bigger than a size_t.
> "I explained what it fixes."
>
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list