commit | 14eb8acb1a9779002f258f04016c1eba7369b229 | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Thu Jul 16 09:28:55 2015 -0400 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Jul 16 09:28:55 2015 -0400 |
tree | beffd9f2855888cfbef9738308e1709849faf879 | |
parent | 728b1ad2e826180cc5ba17b3e8eb3dcb269a205b [diff] |
libsepol: fix policydb_read for policy versions < 24 Policy versions < 24 did not include type attributes in the types symtab, so there can be holes in the type_val_to_struct array. Fixes a segfault during the downgrade test performed by a make test in libsepol. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>