CID 1268629: Don't deref NULL (can't happen unless count is incorrect;
code safety).
This commit is contained in:
parent
e8c33bf290
commit
f29f1289ff
2
external/public-domain/xz/dist/src/xz/args.c
vendored
2
external/public-domain/xz/dist/src/xz/args.c
vendored
@ -107,6 +107,8 @@ parse_block_list(char *str)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p == NULL)
|
||||||
|
break;
|
||||||
str = p + 1;
|
str = p + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user