rtsp: do not call fwrite() with NULL pointer FILE * #1874

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Owner

bagder commented Sep 8, 2017

If the default write callback is used and no destination has been set, a
NULL pointer would be passed to fwrite()'s 4th argument.

OSS-fuzz bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3327 (not publicly open yet)
Detected by OSS-fuzz

cc @cmeister2

rtsp: do not call fwrite() with NULL pointer FILE *
If the default write callback is used and no destination has been set, a
NULL pointer would be passed to fwrite()'s 4th argument.

OSS-fuzz bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3327 (not publicly open yet)
Detected by OSS-fuzz

@bagder bagder closed this in a14f715 Sep 8, 2017

@bagder bagder deleted the bagder/oss-fuzz-3327 branch Sep 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment