Bug 141897

Summary: [msdosfs] [panic] Kernel panic. msdofs: file name length 266 to large.
Product: Base System Reporter: Andrey <nsand>
Component: kernAssignee: freebsd-fs (Nobody) <fs>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: jilles
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204643

Description Andrey 2009-12-22 16:50:01 UTC
On USB flashdrive there is a file with a long name.

# mount_msdofs -L ru_RU.UTF-8 /dev/da4s1 /mnt/flash
# ls /mnt/flash
msdofs: file name length 266 to large
msdofs: non-decreasing id: id 0, last id 2
msdofs: file name length 266 to large
msdofs: non-decreasing id: id 0, last id 2
panic: stack overflow detected; backtrace may be corrupted
cpuid = 0

After file removal it is mounted without problems.

How-To-Repeat: # mount_msdofs -L ru_RU.UTF-8 /dev/da4s1 /mnt/flash
# ls /mnt/flash
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-12-22 17:01:08 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Jilles Tjoelker freebsd_committer freebsd_triage 2016-12-27 23:42:21 UTC
Fixed by using the 8.3 name if the converted long name is too long.

*** This bug has been marked as a duplicate of bug 204643 ***