[PATCH] hush - parameter expansion
Bayram Kurumahmut
kbayram at ubicom.com
Sat Apr 25 19:10:13 UTC 2009
Fix segmentation fault occurred when there is no match between parameter and pattern
For example,
it was failing for the following
bayram at bk-pc:/media/disk-1/busybox-trunk$ ./busybox hush -c 'a="path"; echo $a ${a%%\\*}'
Segmentation fault
now it is OK
bayram at bk-pc:/media/disk-1/busybox-trunk$ ./busybox hush -c 'a="path"; echo $a ${a%%\\*}'
path path
Regards,
Bayram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090425/df1cb40d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hush-parameter-expansion-fix.patch
Type: text/x-diff
Size: 406 bytes
Desc: hush-parameter-expansion-fix.patch
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090425/df1cb40d/attachment.bin>
More information about the busybox
mailing list