Commit 953fda2f authored by Petri Hintukainen's avatar Petri Hintukainen

Check for null path in udfread_open()

parent 56f9e74e
......@@ -1133,6 +1133,10 @@ int udfread_open(udfread *udf, const char *path)
udfread_block_input *input;
int result;
if (!path) {
return -1;
}
input = block_input_new(path);
if (!input) {
return -1;
......
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