diff options
author | njl <njl@FreeBSD.org> | 2005-04-16 01:49:50 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-04-16 01:49:50 +0000 |
commit | 9de8e0daf94d3598eba43ca102b8629938c52342 (patch) | |
tree | 5bc43493562b53a95d88c7bedf8826ce135a6042 /sys/dev/drm/drm_drv.c | |
parent | 1dcaba98da1080966fee63c904aec67d3b386ace (diff) | |
download | FreeBSD-src-9de8e0daf94d3598eba43ca102b8629938c52342.zip FreeBSD-src-9de8e0daf94d3598eba43ca102b8629938c52342.tar.gz |
Fix mbnambuf support for multi-byte characters. If a substring is larger
than WIN_CHARS bytes, we shift the suffix (previous substrings) upwards
by the amount this substring exceeds its WIN_CHARS slot. Profiling shows
this change is indistinguishable from the previous code at 95% confidence.
This bug would result in attempts to access or create files or directories
with multi-byte characters returning an error but no data loss.
Reported and tested by: avatar
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions