Re: [PATCH v2] libsepol: Turn assert into error in type_set_expand()
Stephen Smalley <[email protected]> Thu, 30 Jul 2026 13:24:03 -0400
| Newsgroups | org.kernel.vger.selinux |
|---|---|
| Message-ID | <CAEjxPJ60TK=pWv2m-qP4kh1gjhLEyQzA6PEuoWhhY1rqtpLxMg@mail.gmail.com> |
On Thu, Jul 30, 2026 at 8:57=E2=80=AFAM James Carter <[email protected]> wr= ote: > > The assertion in function type_set_expand() can only be violated by > a malformed policy. Since it is called before the policy has been > validated just return an error. > > Signed-off-by: James Carter <[email protected]> Acked-by: Stephen Smalley <[email protected]>