freebsd-dev/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(8): introduce new command option -e to exhibit 2018-11-10 12:03:57 +00:00
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 jail(8): introduce new command option -e to exhibit 2018-11-10 12:03:57 +00:00
jailparse.y various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile revert r354935 and apply fix for cleandir failure 2019-11-21 13:56:16 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
state.c [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00