freebsd-src/sbin/mount_msdosfs
Tai-hwa Liang 6a604ed4fb It turns out that set_charset() invokes build_iovec_argf() 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 ended up feeding iov with several corrupted entries(this
depends on how many arguments were pushed into iovec before set_charset())
to nmount(2).

This commit fixes this regression introduced in rev1.37 such that
mount_msdosfs(8) with code page conversion option(-W,-D) enabled works again.

Reviewed by:	rodrigc
2005-11-25 19:55:14 +00:00
..
Makefile Increase WARNS level to 6. 2005-11-13 03:25:39 +00:00
mount_msdosfs.8 Xref msdosfs(5) 2005-09-14 16:36:19 +00:00
mount_msdosfs.c It turns out that set_charset() invokes build_iovec_argf() which modifies 2005-11-25 19:55:14 +00:00