You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffserver_config: Check for failure to allocate FFServerIPAddressACL
Fixes CID1396537 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -150,6 +150,11 @@ void ffserver_parse_acl_row(FFServerStream *stream, FFServerStream* feed,
|
||||
}
|
||||
|
||||
nacl = av_mallocz(sizeof(*nacl));
|
||||
if (!nacl) {
|
||||
fprintf(stderr, "Failed to allocate FFServerIPAddressACL\n");
|
||||
goto bail;
|
||||
}
|
||||
|
||||
naclp = 0;
|
||||
|
||||
acl.next = 0;
|
||||
|
Reference in New Issue
Block a user