diff options
author | Andreas Rheinhardt <[email protected]> | 2025-07-11 22:58:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2025-09-15 17:52:21 +0200 |
commit | 987c955cd7e972d9940284fa6ae7187ac858ebb1 (patch) | |
tree | e753bd661c07e301e1c052981218809623e26155 /libavformat/movenchint.c | |
parent | 994bc08325897a7bc86cbb4f8975e1c09272f5d2 (diff) |
avformat/aviobuf: Keep checksum_ptr consistent in avio_seek()
Otherwise it might be > buf_ptr in which case ffio_get_checksum()
could segfault (s->buf_ptr - s->checksum_ptr would be negative
which would be converted to something very big when converted
to unsigned for the update_checksum callback).
Fixes ticket #11233.
Reported-by: Du4t
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavformat/movenchint.c')
0 files changed, 0 insertions, 0 deletions