1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt f33faa5b9b avfilter/graphparser: Don't set pointer to one beyond '\0' of string
This happened in parse_link_name() if there was a '[' without matching
']'. While this is not undefined behaviour (pointer arithmetic one
beyond the end of an array works fine as long as there are no accesses),
it is potentially dangerous. It currently isn't (all callers of
parse_link_name() treat this as an error and don't access the string any
more), but making sure that this will never cause trouble in the future
seems nevertheless worthwhile.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-08-23 19:57:42 +02:00
..
2020-05-23 15:50:20 +02:00
2020-04-30 12:18:36 +02:00
2020-03-17 22:46:36 +01:00
2020-08-23 10:40:55 +02:00
2020-03-17 22:46:36 +01:00
2020-08-20 18:55:19 +02:00
2020-03-17 22:46:36 +01:00
2020-07-08 15:23:43 +02:00
2020-07-08 15:23:43 +02:00
2020-02-29 22:31:01 +01:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-05-23 15:52:27 +02:00
2020-03-17 22:46:36 +01:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00