summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2003-06-16 20:48:56 +0000
committeriedowse <iedowse@FreeBSD.org>2003-06-16 20:48:56 +0000
commit1c34d301c1f016c4510c202d478e91fc0688e70f (patch)
treed70f18397a994ee34cca49455e4927a7feac8c46 /sys/kern/kern_kse.c
parentbdcc4ca5e8e231237d03c8af56189b1dd2e80172 (diff)
downloadFreeBSD-src-1c34d301c1f016c4510c202d478e91fc0688e70f.zip
FreeBSD-src-1c34d301c1f016c4510c202d478e91fc0688e70f.tar.gz
When looking for the ':' separator in the root path, don't go past
the terminating '\0'. Since the initialisation of rootpath in libstand/bootp.c may copy junk into the rest of the buffer, it was possible for the code to find a ':' after the '\0' and do the wrong thing. Reviewed by: ps MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_kse.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud