summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2005-11-25 19:48:53 +0000
committeravatar <avatar@FreeBSD.org>2005-11-25 19:48:53 +0000
commit2e5798240b5ba1bccfcf0a9dd0f5372de5c1687b (patch)
tree0ea8d280e13916fd2f1f746e5212c3044d31b015 /sbin/mount_msdosfs
parentb1f58b95b33acbc2ea50926fe6fa8a3f0c188eb7 (diff)
downloadFreeBSD-src-2e5798240b5ba1bccfcf0a9dd0f5372de5c1687b.zip
FreeBSD-src-2e5798240b5ba1bccfcf0a9dd0f5372de5c1687b.tar.gz
It turns out that set_charset() invokes build_iovec() which modifies
iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we end up feeding iov with several corrupted entries(depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.31 such that mount_cd9660(8) with code page conversion option(-C) enabled works again. Reviewed by: rodrigc
Diffstat (limited to 'sbin/mount_msdosfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud