aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/mem_internal.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-14 23:55:39 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:59 +0100
commit515aa63e4dd76a96022df04b07823b568c5fef65 (patch)
treeaa04f6ea92519ce9f05a5c26c072f4c97009f2e1 /libavutil/mem_internal.h
parent3e8771e99e0c5572b92dccc0a6a034ab121d96cd (diff)
downloadffmpeg-515aa63e4dd76a96022df04b07823b568c5fef65.tar.gz
avformat/utils: Add av_assert1 to preclude NULL + len, len != 0
Such a scenario is undefined behaviour and would also indicate a bug in our code. Suggested-by: James Almer <jamrial@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit da857099e92fb7fede6d7b9e6b26879ce9c5a483)
Diffstat (limited to 'libavutil/mem_internal.h')
0 files changed, 0 insertions, 0 deletions