1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +00:00
freebsd/usr.sbin/jail
Andrew Turner 3a142cd10c Use memmove to copy within a buffer
jail(8) would try to use strcpy to remove the interface from the start of
an IP address. This is undefined, and on arm64 will result in unexpected
IPv6 addresses.

Fix this by using memmove top move the string.

PR:		245102
Reported by:	sbruno
MFC after:	2 weeks
Sponsored by:	Innovate UK
2020-04-01 09:51:29 +00:00
..
tests [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00
command.c Clarify error messages a bit. 2019-01-18 23:00:52 +00:00
config.c Use memmove to copy within a buffer 2020-04-01 09:51:29 +00:00
jail.8 add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
jail.c
jail.conf.5 add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
jaillex.l Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:25:37 +00:00
jailp.h
jailparse.y
Makefile revert r354935 and apply fix for cleandir failure 2019-11-21 13:56:16 +00:00
Makefile.depend
state.c [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00