crash report: illegal memory access when parsing invalid xterm font sequence

Emanuele Giaquinta emanuele.giaquinta at gmail.com
Mon Sep 7 15:43:22 CEST 2015


Hi,

On Mon, Aug 17, 2015 at 01:04:31AM +0800, Kuang-che Wu wrote:
> How to reproduce:
> using rxvt-unicode 9.21
> $ env CC=clang-3.6 CXX=clang++-3.6 CXXFLAGS='-D_FORTIFY_SOURCE=2 -fstack-protector-all -fsanitize=address -g' LDFLAGS=-fsanitize=address ./configure --disable-perl
> $ make
> $ src/rxvt -e sh -c 'echo -e "\e]50;[]\x9c";sleep 1'
> rxvt: unknown parameter '' in font specification, skipping.
> =================================================================
> ==7102==ERROR: AddressSanitizer: heap-buffer-overflow on address
> 0x602000006773 at pc 0x0000005711fc bp 0x7ffdebaf0230 sp 0x7ffdebaf0228
> READ of size 1 at 0x602000006773 thread T0
> ....skip
> 
> this issue is found by afl-fuzz

I am unable to reproduce it on Ubuntu 15.04 with clang-3.6. Which system
do you use?

Emanuele



More information about the rxvt-unicode mailing list