chdir("/") immediately after chroot()
authorEmil Mikulic <emikulic@gmail.com>
Mon, 28 Mar 2016 03:45:19 +0000 (14:45 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Mon, 28 Mar 2016 03:45:19 +0000 (14:45 +1100)
commit3e861d8b582646faff9abe30079ba26ed7bd276f
tree65adc06ee112b106e063e1dced58fe5829ea0d8c
parenta9e0c3e9ef65201dab96cf138b832311e2cce444
chdir("/") immediately after chroot()

Suggested by clang static analyzer.
conv.c