Commit cffe3890 authored by Tamás Zahola's avatar Tamás Zahola Committed by Erik de Castro Lopo
Browse files

Fix nullptr dereference in FLAC++

parent 0dfe2350
......@@ -55,6 +55,9 @@ namespace FLAC {
Prototype *construct_block(::FLAC__StreamMetadata *object)
{
if (0 == object)
return 0;
Prototype *ret = 0;
switch(object->type) {
case FLAC__METADATA_TYPE_STREAMINFO:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment