[FFmpeg-devel] [PATCH v2] avformat/dashdec: fix memleak for commit commit e134c203
Nicolas George
george at nsup.org
Fri Mar 20 14:39:06 EET 2020
Steven Liu (12020-03-20):
> Yes, av_strtok get the first part and the other part,
> And use the strtol get the first part to long, it check the string range, and get the endpoint of (not number part.)
> The end is same as the first part.
My exact comment was wrong. The actual problem is that av_strtok() does
not tell you the semantic of saveptr, you can therefore only use it as
an argument to another call to av_strtok().
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200320/7219ccb1/attachment.sig>
More information about the ffmpeg-devel
mailing list