| Summary: | shell/ash.c:527:2: runtime error: null pointer passed as argument 1, which is declared to never be null | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Fernando Muñoz <fernando> |
| Component: | Other | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.24.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
config
test case |
||
Created attachment 6351 [details]
test case
|
Created attachment 6346 [details] config Attached config and minnull.sh script that triggers the issue on the current git version: test@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