[Bug 15326] Buffer overflow with _FORTIFY_SOURCE=3 in fixdep

bugzilla at busybox.net bugzilla at busybox.net
Fri Feb 10 02:52:13 UTC 2023


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

--- Comment #5 from Sam James <sam at gentoo.org> ---
huh, I can get it to crash with scripts/kconfig/.kxgettext.o.d as:
```
/tmp/garbage: \
  /usr/include/stdlib.h \
```

```
# scripts/basic/fixdep scripts/kconfig/.kxgettext.o.d
scripts/kconfig/kxgettext.o $'clang-15 -Wp,-MD,scripts/kconfig/.kxgettext.o.d
-O2 -ggdb3 -c -o scripts/kconfig/kxqgettext.o scripts/kconfig/kxgettext.c'
cmd_scripts/kconfig/kxgettext.o := clang-15
-Wp,-MD,scripts/kconfig/.kxgettext.o.d -O2 -ggdb3 -c -o
scripts/kconfig/kxqgettext.o scripts/kconfig/kxgettext.c

deps_scripts/kconfig/kxgettext.o := \
  /usr/include/stdlib.h \
Segmentation fault (core dumped)
```

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


More information about the busybox-cvs mailing list