Anonymous | Login | Signup for a new account | 11-10-2008 13:50 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005794 | [BusyBox] Other | crash | always | 10-28-08 16:15 | 10-28-08 17:56 | |||||||
Reporter | mspiegle | View Status | public | |||||||||
Assigned To | BusyBox | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | assigned | Product Version | 1.12.x | |||||||||
Summary | 0005794: vi on busybox 1.12.1 has a null pointer dereference | |||||||||||
Description |
last_search_pattern in vi.c doesn't get initialized to anything, yet the code under FEATURE_VI_SEARCH attempts to use it without checking. Simply starting vi and hitting 'N' can trigger it. Also, doing an empty search (newline only) also triggers it. If I set last_search_pattern to "" in main, it fixes it. I'm not sure if that's an appropriate fix though. |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Notes | |
(0014514) vda 10-28-08 17:56 |
Please try http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-vi.patch [^] |
Copyright © 2000 - 2006 Mantis Group |