On Mon, May 11, 2020 at 8:27 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > On Mon, May 11, 2020 at 5:01 PM Stephen Smalley > <stephen.smalley.work@xxxxxxxxx> wrote: > > As per the man page, quotactl(2) expects to be passed a pointer to > > a 4-byte buffer for Q_GETFMT. The kernel copies a single u32 value. > > On Ubuntu, this was detected as a stack smash when running the test. > > Fix the test program. > > > > Signed-off-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx> > > Acked-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> Patch applied. -- Ondrej Mosnacek <omosnace at redhat dot com> Software Engineer, Security Technologies Red Hat, Inc.