]> git.sesse.net Git - ffmpeg/commit
avutil/avstring: Limit string length in av_escape to range of int
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 9 Mar 2021 20:17:12 +0000 (21:17 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Mar 2021 05:44:03 +0000 (06:44 +0100)
commitc2649d5196843db46d25a9f9f6f9272a464221b7
tree076f0912065d37df2f96c72a25b4492f3e1c9cd6
parenta581370f54b6d67270ec228c05e8c00619b2162b
avutil/avstring: Limit string length in av_escape to range of int

Otherwise the caller can't distinguish the return value from an error.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavutil/avstring.c