[compiler-rt] r174710 - [asan] Fix off-by-one in AddrIsAtRight.

Dmitri Gribenko gribozavr at gmail.com
Sat Feb 9 09:39:55 PST 2013


Hello Evgeniy,

On Fri, Feb 8, 2013 at 2:59 PM, Evgeniy Stepanov
<eugeni.stepanov at gmail.com> wrote:
> +  // CHECK: {{    #0 0x.* in _?main .*use-after-free-right.cc:22}}

Line numbers in this test don't look correct (off by 3).
Unfortunately, this test is not run by buildbots that use configure
(even those which do build asan), so it was not detected.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list