Displaying 2 results from an estimated 2 matches for "02d138d9".
2014 Nov 13
4
free() invalid pointer
Op 13-11-14 om 17:45 schreef lvqcl:
> FLAC__window_partial_tukey():
>
> Np = (FLAC__int32)(p / 2.0f * N) - 1;
>
> and Np can be equal to -1. So later in the code
>
> for (; n < (end_n-Np); n++)
> window[n] = 1.0f;
>
> libFLAC writes outside of window[] memory.
That does the trick indeed. I still wonder how it is possible
that this didn't trigger anything
2014 Nov 16
1
free() invalid pointer
...ite loop. The patch fixes both.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libFLAC-fix-more-problems-with-new-window-functions.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20141116/02d138d9/attachment.bin