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

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun Feb 10 23:20:53 PST 2013


Ouch. It seems I forgot to re-run the test after adding the comment
above main(). Thanks for noticing.

On Sat, Feb 9, 2013 at 9:39 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> 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