On Thu, Dec 21, 2017 at 5:32 AM, Yunlian Jiang wrote:
>
> When I run
> busybox ash on an arm device with busybox built with clang 6.
> I got a segmentation fault
> in the macro
> #define INIT_S() do { \
> (*(struct lineedit_statics**)_ptr_to_statics) = xzalloc(sizeof(S)); \
>
When I run
busybox ash on an arm device with busybox built with clang 6.
I got a segmentation fault
in the macro
#define INIT_S() do { \
(*(struct lineedit_statics**)_ptr_to_statics) =
xzalloc(sizeof(S)); \
barrier(); \
cmdedit_termw = 80; \
IF_USERNAME_OR_HOMEDIR(home_pwd_buf = (char*)null_str;)