Commit ID: 10057A3AAA90034EF8B CVSROOT: /cvs Module name: src Changes by: t...@herc.mirbsd.org 2016/08/04 20:51:37 UTC
Modified files: bin/mksh : check.t main.c sh.h Log message: fixup a bad OpenBSD reaction on a bug afl showed: set source to NULL only if the memory backing source is actually reclaimed; fixes segfault due to NULL(+24) pointer dereference reported by Score_Under (simplified testcase added; thanks!) To generate a diff of this changeset, execute the following commands: cvs -R rdiff -kk -upr1.748 -r1.749 src/bin/mksh/check.t cvs -R rdiff -kk -upr1.316 -r1.317 src/bin/mksh/main.c cvs -R rdiff -kk -upr1.783 -r1.784 src/bin/mksh/sh.h