Package: dmidecode Version: 3.5-1 Hi,
dmidecode --dump-bin segfaults on 64-bit architectures because <stdio.h> does not provide a declaration for fdopen() in ANSI mode, so the returned pointer is implicitly truncated to int: [...] x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/tmp/dmidecode-3.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -Wdate-time -D_FORTIFY_SOURCE=2 -Os -ansi -c dmidecode.c -o dmidecode.o dmidecode.c: In function ‘dmi_table_dump’: dmidecode.c:5427:11: warning: assignment to ‘FILE *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 5427 | f = fdopen(fd, "wb"); | ^ [...] Cheers, Jan