View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000890 | Far Manager | Drive Menu | public | 2009-05-28 17:30 | 2009-05-29 08:25 |
Reporter | netghost | Assigned To | alexy | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 2.0 | ||||
Summary | 0000890: Far unicode (both x86 and x64) crash when opening Drive Menu on Windows 7 x64 | ||||
Description | network.cpp: 75: DWORD res = WNetEnumResourceW(hEnum, &size, netResource, &bufsz); 76: if (res == NO_ERROR) 77: { 78: wchar_t letter = Lower(netResource->lpLocalName[0]); On my Windows 7 x64 WNetEnuResourceW returns NO_ERROR, but it doesn't return any records (size is 0 after WNetEnumResourceW returns). Access violation happens in line 78, because lpLocalName is NULL (since no NETWORKRESOURCE record was returned). Line 76 need to have additional checks: 76: if (res == NO_ERROR && size > 0 && netResource->lpLocalName != NULL) | ||||
Tags | No tags attached. | ||||
Build | 957 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-05-28 17:30 | netghost | New Issue | |
2009-05-28 22:41 | alexy | Status | new => assigned |
2009-05-28 22:41 | alexy | Assigned To | => alexy |
2009-05-28 22:46 | alexy | Note Added: 0003335 | |
2009-05-28 22:46 | alexy | Status | assigned => feedback |
2009-05-29 08:07 | netghost | Note Added: 0003358 | |
2009-05-29 08:07 | netghost | Status | feedback => resolved |
2009-05-29 08:07 | netghost | Resolution | open => fixed |
2009-05-29 08:25 | alexy | Build | => 957 |
2009-05-29 08:25 | alexy | Status | resolved => closed |
2009-05-29 08:25 | alexy | Fixed in Version | => 2.0 |