HomeFreeBSD

sa_lookup() ignores buffer size.

Description

sa_lookup() ignores buffer size.

When retrieving a system attribute, the size of the supplied
buffer is ignored. If the buffer is too small to hold the attribute,
sa_attr_op() will write past the end of the buffer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jason King <jking@racktopsystems.com>
Closes #15476

Details

Provenance
jason.brian.king_gmail.comAuthored on Nov 7 2023, 8:11 PM
GitHub <noreply@github.com>Committed on Nov 7 2023, 8:11 PM
Parents
rG78ac86882484: Remove obsolete_counts from grub2 compatibility list
Branches
Unknown
Tags
Unknown