Files
freebsd/lib/libutil
Kyle Evans f268f95955 libutil: avoid an out-of-bounds read in trimdomain(3)
memchr(3) will happily believe we've passed in a valid object, but
hostsize could easily exceed the bounds of fullhost.  Clamp it down to
the string size to be safe and avoid UB.  This plugs a potential
overread noted in the compat shim that was just added.

Reviewed by:	des
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D54623
2026-03-03 16:51:02 -06:00
..
…
…
…
…
…
…
…
…
…
2025-08-12 14:55:01 +02:00
2025-08-12 14:55:01 +02:00
2025-08-12 14:55:01 +02:00
2025-08-03 19:31:20 +02:00
…
…
…
2025-08-03 19:31:28 +02:00
…
…
2025-08-12 14:55:01 +02:00