Re: [PATCH] secilc: Use size_t for file sizes

Stephen Smalley <[email protected]> Mon, 3 Aug 2026 16:18:54 -0400
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ4xvoY_FfNz+j7v9MiCM3kLnGwAT2MoX0y65iA=UoCAzw@mail.gmail.com>
On Mon, Aug 3, 2026 at 1:45=E2=80=AFPM Stephen Smalley
<[email protected]> wrote:
>
> On Mon, Aug 3, 2026 at 1:24=E2=80=AFPM James Carter <[email protected]> w=
rote:
> >
> > The programs secil2conf, secilc2tree, and secilc use uint32_t for
> > the value of the size of the input files being read. This could
> > lead to a file larger than 4 GiB being truncated, so use size_t
> > instead.
> >
> > Signed-off-by: James Carter <[email protected]>
>
> Acked-by: Stephen Smalley <[email protected]>

Merged.