ports/net/samba416
Joseph Mingrone 3fb51f85c5
net/samba416: Patch to prevent abnormal smbd abort
Update a call to memcpy() because readdir() only guarantees memory up to
result+result->d_reclen is readable.  Under certain conditions,
result+sizeof(struct dirent) landed in unmapped memory.

Most of the legwork to pinpoint the problem, as well as a solution
similar to the one applied here, was submitted by uratan@miomio.jp.
Martin Simmons <martin@lispworks.com> contributed to understanding the
problem and wrote a useful test case.

PR:		275597
Approved by:	maintainer timeout
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43171
2024-02-11 00:20:00 -04:00
..
files net/samba416: Patch to prevent abnormal smbd abort 2024-02-11 00:20:00 -04:00
distinfo
Makefile net/samba416: Patch to prevent abnormal smbd abort 2024-02-11 00:20:00 -04:00
pkg-descr
pkg-plist net/samba416: Sanitize MANPREFIX 2024-01-22 16:50:45 +01:00
pkg-plist.ad_dc
pkg-plist.cluster net/samba416: Sanitize MANPREFIX 2024-01-22 16:50:45 +01:00
pkg-plist.python net/samba416: Sanitize MANPREFIX 2024-01-22 16:50:45 +01:00