From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Po-Hsu Lin <po-hsu.lin@canonical.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] tst_security.c: fix lsm parsing failure due to uninitialized buffer
Date: Wed, 7 Jan 2026 10:23:17 +0100 [thread overview]
Message-ID: <20260107092317.GA744952@pevik> (raw)
In-Reply-To: <DFI8IGORXLRO.12S960873D0R5@suse.com>
Hi all,
> + memset(data, 0, BUFSIZ);
I'd slightly prefer to use {0}
char data[BUFSIZ] = {0};
But sure memset works as well.
Thanks for fixing it.
Kind regards,
Petr
> Thanks for fixing it. Merged.
> Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-01-07 9:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 8:06 [LTP] [PATCH] tst_security.c: fix lsm parsing failure due to uninitialized buffer Po-Hsu Lin via ltp
2026-01-07 9:03 ` Andrea Cervesato via ltp
2026-01-07 9:23 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260107092317.GA744952@pevik \
--to=pvorel@suse.cz \
--cc=andrea.cervesato@suse.com \
--cc=ltp@lists.linux.it \
--cc=po-hsu.lin@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.