#715896 [Mayhem] Bug report on device-tree-compiler: fdtget crashes with exit status 139

Package:
device-tree-compiler
Source:
device-tree-compiler
Description:
Device Tree Compiler for Flat Device Trees
Submitter:
Alexandre Rebert
Date:
2026-08-30 09:45:04 UTC
Severity:
normal
#715896#5
Date:
2013-07-10 19:01:44 UTC
From:
To:
fdtget crashes with exit status 139. We confirmed the crash by
re-running it in a fresh debian unstable installation.

The attachment [1] contains a testcase (under ./crash) crashing the
program. It ensures that you can easily reproduce the bug. Additionally,
under ./crash_info/, we include more information about the crash such as
a core dump, the dmesg generated by the crash, and its output.

Regards,
The Mayhem Team (Alexandre Rebert, Thanassis Avgerinos, Sang Kil Cha, David Brumley, Manuel Egele)
Cylab, Carnegie Mellon University

[1] http://www.forallsecure.com/bug-reports/2fd31f064b73b86ff6ec5547779d35a9ee7d8c55/full_report

#715896#10
Date:
2016-12-08 17:38:06 UTC
From:
To:
Hello,

I am still able to confirm segfaults on fdtput and fdtdump, but when I attempt to crash
fdtget, I get:
./crash.sh: line 13: warning: command substitution: ignored null byte in input
./crash.sh: line 13: warning: command substitution: ignored null byte in input
Error at '': FDT_ERR_BADPATH

with current unstable version 1.4.2-1

Regards,