Bug 399

Summary: Platform's vi utility crashes if doing a search (/) with no value
Product: Busybox Reporter: Joe Xie <xhcbrave>
Component: Standard ComplianceAssignee: unassigned
Status: RESOLVED FIXED    
Severity: critical CC: busybox-cvs, xhcbrave
Priority: P2 Keywords: FIXME
Version: 1.12.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: i686 Target: i686
Build:

Description Joe Xie 2009-06-15 09:56:20 UTC
If I use vi, then do search with '/', but don't enter a string, I get a segfault. This does not put the dut in a bad state.

This could be a problem if a user is making changes to a file without saving, hits this bug and loses there data.
Comment 1 Bernhard Reutner-Fischer 2009-06-15 10:06:14 UTC
What platform is this? Please fill in proper host, target and build triplets.
How did you configure vi? Paste your
$ grep _VI .config

thanks,
Comment 2 Denys Vlasenko 2009-06-15 10:35:24 UTC
Seems to be fixed in last release.

If you want the fix to be added to next 1.12.x stable release, backport the fix to 1.12.x and follow these instructions:

http://busybox.net/fix.html
Comment 3 Joe Xie 2009-06-16 02:23:34 UTC
I found this bug in busybox 1.10.2, but the lowest version option is 1.12.x so I selected 1.12.x in the "Version" field.
Comment 4 Denys Vlasenko 2009-07-11 22:27:39 UTC
Closing since it is fixed in released stable versions.