Re: [PATCH v2] libsepol: Turn assert into error in type_set_expand()

Stephen Smalley <[email protected]> Thu, 30 Jul 2026 13:42:23 -0400
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ6H5GbgtyrVhMzmXshWRczG5DqxoCe3PL17GMvTBbc3wg@mail.gmail.com>
On Thu, Jul 30, 2026 at 1:24=E2=80=AFPM Stephen Smalley
<[email protected]> wrote:
>
> On Thu, Jul 30, 2026 at 8:57=E2=80=AFAM James Carter <[email protected]> =
wrote:
> >
> > 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]>

Merged.