# git rev-parse -q --verify baf76f0c58aec435a3a864075b8f6d8ee5d1f17e^{commit} baf76f0c58aec435a3a864075b8f6d8ee5d1f17e already have revision, skipping fetch # git checkout -q -f -B kisskb baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # git clean -qxdf # < git log -1 # commit baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # Author: Linus Torvalds # Date: Thu Apr 25 16:13:58 2019 -0700 # # slip: make slhc_free() silently accept an error pointer # # This way, slhc_free() accepts what slhc_init() returns, whether that is # an error or not. # # In particular, the pattern in sl_alloc_bufs() is # # slcomp = slhc_init(16, 16); # ... # slhc_free(slcomp); # # for the error handling path, and rather than complicate that code, just # make it ok to always free what was returned by the init function. # # That's what the code used to do before commit 4ab42d78e37a ("ppp, slip: # Validate VJ compression slot parameters completely") when slhc_init() # just returned NULL for the error case, with no actual indication of the # details of the error. # # Reported-by: syzbot+45474c076a4927533d2e@syzkaller.appspotmail.com # Fixes: 4ab42d78e37a ("ppp, slip: Validate VJ compression slot parameters completely") # Acked-by: Ben Hutchings # Cc: David Miller # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_ip22_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ip22_defconfig # make -s -j 48 ARCH=mips O=/kisskb/build/linus_ip22_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- Completed OK # rm -rf /kisskb/build/linus_ip22_defconfig_mips-gcc8 # Build took: 0:01:50.622335