View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000721 | Plugins | EMenu | public | 2009-01-31 20:54 | 2009-01-31 21:22 |
Reporter | nfsr | Assigned To | DrKnS | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 2.0 | ||||
Summary | 0000721: far падает (или зависает в случае релизной сборки) если попытаться отобразить контекстное меню (плагин EMenu) | ||||
Description | Собирал при помощи VS 2008 SP1. Приаттаченный патч исправляет это. | ||||
Tags | No tags attached. | ||||
2009-01-31 20:54
|
EMenu.patch (504 bytes)
Index: plugins/emenu/FarMenu.cpp =================================================================== --- plugins/emenu/FarMenu.cpp (revision 2544) +++ plugins/emenu/FarMenu.cpp (working copy) @@ -102,7 +102,7 @@ else { if(textLen > m_nMaxTextLen) textLen = m_nMaxTextLen; m_pfmi[nIndex].Text = new wchar_t[textLen+1]; - wcsncpy((wchar_t *)m_pfmi[nIndex].Text, szText, textLen); + wcsncpy((wchar_t *)m_pfmi[nIndex].Text, szText, textLen + 1); } #endif } |
|
build 28. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-31 20:54 | nfsr | New Issue | |
2009-01-31 20:54 | nfsr | File Added: EMenu.patch | |
2009-01-31 21:20 | DrKnS | Project | Far Manager => Plugins |
2009-01-31 21:21 | DrKnS | Category | _Common => EMenu |
2009-01-31 21:21 | DrKnS | Status | new => assigned |
2009-01-31 21:21 | DrKnS | Assigned To | => DrKnS |
2009-01-31 21:22 | DrKnS | Note Added: 0002373 | |
2009-01-31 21:22 | DrKnS | Status | assigned => closed |
2009-01-31 21:22 | DrKnS | Resolution | open => fixed |
2009-01-31 21:22 | DrKnS | Fixed in Version | => 2.0 |