]> code.ossystems Code Review - openembedded-core.git/commit
busybox: lineedit: initialize delptr
authorMing Liu <ming.liu@windriver.com>
Thu, 9 Jan 2014 09:57:07 +0000 (17:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2014 15:11:33 +0000 (15:11 +0000)
commit21ba0297409bfc6e0fb89f45c9bfed8981c7df5b
tree709072ddd123492ac64feec0879ee369cee5e4bd
parentd28eba07553020bf9bfb1419663c1d18ab36ab66
busybox: lineedit: initialize delptr

In vi mode, the 'p' and 'P' commands caused a segfault when nothing had
been put in the buffer yet because the delptr was not initialized.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/busybox-lineedit-initialize-delptr.patch [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.21.1.bb