aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/reverse.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-04-16 00:09:38 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-06-27 17:50:47 +0200
commitd8bdc954579b0bb2e2b34d19e8cf3ff3d6201601 (patch)
tree977bbdc811cfb0ee941d1cb857bfead6114911e9 /libavutil/reverse.h
parent05a90821d05f88bd0a290878d1aa2c459aed67ac (diff)
downloadffmpeg-d8bdc954579b0bb2e2b34d19e8cf3ff3d6201601.tar.gz
avutil/avstring: Fix bug and undefined behavior in av_strncasecmp()
The function in case of n=0 would read more bytes than 0. The end pointer could be beyond the allocated space, which is undefined. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 6f0e9a863466bfcbd75ee15d4d8a6aad2a5126a4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/reverse.h')
0 files changed, 0 insertions, 0 deletions