https://github.com/torvalds/linux
Revision 86aea56f14929ff1c05eca1776e9068e907429d5 authored by Christos Gkekas on 08 July 2017, 19:50:21 UTC, committed by John Johansen on 22 September 2017, 20:00:57 UTC
verify_header() is currently checking whether interface version is less
than 5 *and* greater than 7, which always evaluates to false. Instead it
should check whether it is less than 5 *or* greater than 7.

Signed-off-by: Christos Gkekas <chris.gekas@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 19fe43a
History
Tip revision: 86aea56f14929ff1c05eca1776e9068e907429d5 authored by Christos Gkekas on 08 July 2017, 19:50:21 UTC
apparmor: Fix logical error in verify_header()
Tip revision: 86aea56
File Mode Size
Kconfig -rw-r--r-- 58.6 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.5 KB
do_mounts.c -rw-r--r-- 14.6 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.3 KB
init_task.c -rw-r--r-- 802 bytes
initramfs.c -rw-r--r-- 14.0 KB
main.c -rw-r--r-- 26.2 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.2 KB

back to top