Changes between Initial Version and Version 2 of Ticket #135
- Timestamp:
- Jul 5, 2007, 2:25:49 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #135
- Property Status new → assigned
-
Ticket #135 – Description
initial v2 1 1 Seek and scan can crash when searching EAs. 2 2 3 {{{ 3 4 P1=00000002 P2=00000008 P3=XXXXXXXX P4=XXXXXXXX 4 5 CS:EIP=005b:12d9390e CSACC=f0df CSLIM=ffffffff … … 11 12 FS=150b FSACC=00f3 FSLIM=00000030 12 13 GS=0000 GSACC=**** GSLIM=******* 14 }}} 13 15 14 16 This is in _nfree. … … 16 18 # dd ss:esp 17 19 20 {{{ 18 21 0053:00e3e6e0 00000000 00403748 00400000 12d8cbc5 19 22 0053:00e3e6f0 00e3e9f8 00403730 004037f8 00000042 … … 24 27 0053:00e3e740 00e40c98 0040377c 00000000 0000fffd 25 28 0053:00e3e750 00400012 00e3e700 00e3e898 00e3e898 29 }}} 26 30 27 31 Looking at the stack finds 28 32 33 {{{ 29 34 # ln %12d8cbc5 30 35 %12d8cb80 FM3DLL _nfree_ + 45 31 36 # ln %12db3c34 32 %12db3c22 FM3DLL Free_FEAList_ + 1237 %12db3c22 FM3DLL !Free_FEAList_ + 12 33 38 # ln %12dbdfa8 34 %12dbd5b1 FM3DLL GrepThread_ + 9f739 %12dbd5b1 FM3DLL !GrepThread_ + 9f7 35 40 # ln %1ffc3db8 41 }}} 36 42 37 I suspect the error is in GetFileEAs(). There's probably a one character overflow because the code is not properly accounting for the extra character copied when attempting to place a nul at then end of each EA.43 I suspect the error is in !GetFileEAs(). There's probably a one character overflow because the code is not properly accounting for the extra character copied when attempting to place a nul at then end of each EA. 38 44 39 The reason this is showing up is most likely because VAC defaulted to pack(4), IIRC, and OpenWatcom defaults to pack(1).45 The reason this is showing up is most likely because VAC defaulted to pack(4), IIRC, and !OpenWatcom defaults to pack(1).