commit | 8d31f8053ca83af7266fed71a11b7a52b16cc13a | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Tue Nov 22 23:23:40 2016 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Nov 23 12:31:55 2016 -0500 |
tree | 1ce5395d2335f531f9b84b30d7f32620bbede74d | |
parent | 6675e12cc17345834f14a52d260fd0bf4437d03c [diff] |
libsepol: do not crash when block->branch_list is NULL When fuzzing hll/pp, the fuzzer created a policy module with a block which has no declaration. With block->branch_list = NULL, typealias_list_create() triggered a NULL pointer dereference when computing max_decl_id. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>