Skip to content

More secilc-fuzzer problems fixed

James Carter selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6libsepol/cil: Handle disabled optional blocks in earlier passeslibsepol/cil/src/cil_resolve_ast.c+28 -260 replies
2/6libsepol/cil: Destroy the permission nodes when exiting with an errorlibsepol/cil/src/cil_build_ast.c+2 -00 replies
3/6libsepol/cil: Limit the number of open parenthesis allowedlibsepol/cil/src/cil_parser.c+6 -10 replies
4/6libsepol/cil: Resolve anonymous class permission sets only oncelibsepol/cil/src/cil_resolve_ast.c+4 -00 replies
5/6libsepol/cil: Pointers to datums should be set to NULL when resettinglibsepol/cil/src/cil_reset_ast.c+53 -30 replies
6/6libsepol/cil: Resolve anonymous levels only oncelibsepol/cil/src/cil_resolve_ast.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] More secilc-fuzzer problems fixed

Patches 1-4 fix bug found directly by the secilc-fuzzer. Patch 6 is the same class of bug as that fixed with patch 4. Patch 5 fixes problems found while investigating patch 4 and 6.

James Carter (6):
libsepol/cil: Handle disabled optional blocks in earlier passes libsepol/cil: Destroy the permission nodes when exiting with an error libsepol/cil: Limit the number of open parenthesis allowed libsepol/cil: Resolve anonymous class permission sets only once libsepol/cil: Pointers to datums should be set to NULL when resetting libsepol/cil: Resolve anonymous levels only once

 libsepol/cil/src/cil_build_ast.c   |  2 +
 libsepol/cil/src/cil_parser.c      |  7 +++-
 libsepol/cil/src/cil_reset_ast.c   | 56 +++++++++++++++++++++++++--
 libsepol/cil/src/cil_resolve_ast.c | 62 +++++++++++++++++-------------
 4 files changed, 97 insertions(+), 30 deletions(-)
Signature · 1 line
2.26.3