diff options
author | tjr <tjr@FreeBSD.org> | 2004-08-26 13:16:44 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-08-26 13:16:44 +0000 |
commit | 7845779267aeba1e407bd512be0720c6129bbbb1 (patch) | |
tree | 9f46c478e54517ca6dab3c15fd28854c8a136c2d /lib/libc/regex/regexec.c | |
parent | 7f46afc9bf56a426e565ab0a0bfb72643f51b469 (diff) | |
download | FreeBSD-src-7845779267aeba1e407bd512be0720c6129bbbb1.zip FreeBSD-src-7845779267aeba1e407bd512be0720c6129bbbb1.tar.gz |
Improve the robustness of MSDOSFSMNT_KICONV handling:
- Use copyinstr() to read cs_win, cs_dos, cs_local strings from the
mount argument structure instead of reading through user-space pointers(!).
- When mounting a filesystem, or updating an existing mount, only try to
update the iconv handles from the information in the mount argument
structure if the structure itself has the MSDOSFSMNT_KICONV flag set.
- Attempt to handle failure of update_mp() in the MNT_UPDATE case.
Diffstat (limited to 'lib/libc/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions