summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_memory.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-04-16 01:49:50 +0000
committernjl <njl@FreeBSD.org>2005-04-16 01:49:50 +0000
commit9de8e0daf94d3598eba43ca102b8629938c52342 (patch)
tree5bc43493562b53a95d88c7bedf8826ce135a6042 /sys/dev/drm/drm_memory.c
parent1dcaba98da1080966fee63c904aec67d3b386ace (diff)
downloadFreeBSD-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_memory.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud