Displaying 5 results from an estimated 5 matches for "gf294e3d99a".
2017 Nov 20
7
[PATCH 0/2] libopusfile int64 overflows
...with an explicit check, I don't know if
there's a better way to identify corrupt input here.
James Zern (2):
op_pcm_seek: fix int64 overflow
op_fetch_and_process_page: fix int64 overflow
src/opusfile.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
--
2.15.0.448.gf294e3d99a-goog
2017 Nov 20
0
[PATCH 1/2] op_pcm_seek: fix int64 overflow
...t=0;
+ }
+ else discard_count=_pcm_offset-diff;
/*We use a threshold of 90 ms instead of 80, since 80 ms is the
_minimum_ we would have discarded after a full seek.
Assuming 20 ms frames (the default), we'd discard 90 ms on average.*/
--
2.15.0.448.gf294e3d99a-goog
2017 Nov 20
0
[PATCH 2/2] op_fetch_and_process_page: fix int64 overflow
...t;0&&OP_UNLIKELY(OP_INT64_MAX+diff<durations[pi])){
+ diff=0;
+ } else diff=durations[pi]-diff;
/*If we have samples to trim...*/
if(diff>0){
/*If we trimmed the entire packet, stop (the spec says encoders
--
2.15.0.448.gf294e3d99a-goog
2017 Nov 28
0
[PATCH 0/2] libopusfile int64 overflows
...o identify corrupt input here.
>
> James Zern (2):
> op_pcm_seek: fix int64 overflow
> op_fetch_and_process_page: fix int64 overflow
>
> src/opusfile.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
Any comments on these?
> --
> 2.15.0.448.gf294e3d99a-goog
>
2017 Dec 07
2
[PATCH 0/2] libopusfile int64 overflows
...2):
>> op_pcm_seek: fix int64 overflow
>> op_fetch_and_process_page: fix int64 overflow
>>
>> src/opusfile.c | 11 +++++++++--
>> 1 file changed, 9 insertions(+), 2 deletions(-)
>>
>
> Any comments on these?
>
ping.
>> --
>> 2.15.0.448.gf294e3d99a-goog
>>