commit | d00cc134837c36b47c374414668b29c4489b2725 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <[email protected]> | Sat May 20 12:11:40 2017 +0200 |
committer | Stephen Smalley <[email protected]> | Tue May 23 15:55:02 2017 -0400 |
tree | 6f205e5cc62c036a382ffe502fd26b9432d8741e | |
parent | 8fe362f0121ab6d82f646ae51948a8df4a8834c6 [diff] |
libsepol: propagate calloc() failure When common_to_cil() or class_to_cil() fail to allocate an array to map a permissions hashtable (for example when permissions.nprim is too big), class_perm_to_array() gets called on a NULL pointer. Fix this. This issue has been found while fuzzing hll/pp with the American Fuzzy Lop. Signed-off-by: Nicolas Iooss <[email protected]>