[Beignet] [PATCH] Don't read past end of printf format string

2015-11-01 Thread Rebecca N. Palmer
Reading p+1 when p==end is an out of bounds read. Signed-off-by: Rebecca Palmer --- (Found by valgrind while investigating #90472; probably not the actual cause of that crash, but still a bug.) diff --git a/backend/src/llvm/llvm_printf_parser.cpp

Re: [Beignet] [PATCH] Don't read past end of printf format string

2015-11-01 Thread Pan, Xiuli
al Message- From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Rebecca N. Palmer Sent: Monday, November 2, 2015 7:09 AM To: beignet@lists.freedesktop.org Subject: [Beignet] [PATCH] Don't read past end of printf format string Reading p+1 when p==end is an out of bounds rea