lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 10 Jul 2011 04:04:47 +0200
From: Andrej Gelenberg <andrej.gelenberg@....edu>
To: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: [PATCH] nconfig: prevent segfault on empty menu
Hello,
i found and fixed an NULL-dereference bug in nconf tool.
How to reproduce:
1. $ make nconfig
2. disable "Kernel hacking -> Debug Filesystem"
3. go to "General setup -> GCOV-based kernel profiling" and hit F2
it should segfault
Fix: i have added some checks for "struct menu*" to be NULL before it
get dereferenced
Regards,
Andrej Gelenberg
View attachment "0001-nconfig-prevent-segfault-on-empty-menu.patch" of type "text/plain" (1883 bytes)
Powered by blists - more mailing lists