[flac-dev] [PATCH] fix UB in bitwriter.c

Erik de Castro Lopo mle+la at mega-nerd.com
Sun Dec 20 00:42:03 PST 2015

lvqcl wrote:

> The commit <http://git.xiph.org/?p=flac.git;a=commitdiff;h=e3c8095336249182b6a8871747df3cc99640103a>
> fixed UB in bitwriter.c. But there are 2 unused functions -
> FLAC__bitwriter_rice_bits() and FLAC__bitwriter_write_rice_signed()
> that also have this UB. IMHO it makes sense to fix their code as well.
> Maybe someone will use them in future.

Applied. Thanks.

Erik de Castro Lopo

More information about the flac-dev mailing list