[Bug 8716] New: shell/ash.c:527:2: runtime error: null pointer passed as argument 1, which is declared to never be null

bugzilla at busybox.net bugzilla at busybox.net
Thu Feb 25 20:46:15 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=8716

            Bug ID: 8716
           Summary: shell/ash.c:527:2: runtime error: null pointer passed
                    as argument 1, which is declared to never be null
           Product: Busybox
           Version: 1.24.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: fernando at null-life.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 6346
  --> https://bugs.busybox.net/attachment.cgi?id=6346&action=edit
config

Attached config and minnull.sh script that triggers the issue on the current
git version:

test at kali:/root/fuzzshell$ ./busybox_unstripped sh minnull.sh 
shell/ash.c:527:2: runtime error: null pointer passed as argument 1, which is
declared to never be null
ASAN:SIGSEGV
=================================================================
==20091==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc
0xb7475911 bp 0x00000001 sp 0xbfffe79c T0)
    #0 0xb7475910  (/lib/i386-linux-gnu/i686/cmov/libc.so.6+0x76910)
    #1 0xb7468ddf in fputs_unlocked
(/lib/i386-linux-gnu/i686/cmov/libc.so.6+0x69ddf)
    #2 0x8073630 in outstr shell/ash.c:527

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==20091==ABORTING

$ cat minnull.sh
hash cat>0
command -pv cat

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list