On Mon, Sep 01, 2014 at 11:22:12AM +0400, Yury Gribov wrote: > BTW regarding ChangeLog: should I mention both bugs (they are > duplicates) or just one of them?
You can mention both if you want (on separate lines), or just the one the other has been DUPed to. > commit e3324d8d3528f0cb1a56e784f0887a4743a3e0f2 > Author: Yury Gribov <y.gri...@samsung.com> > Date: Wed Aug 20 13:56:03 2014 +0400 > > 2014-08-22 Yury Gribov <y.gri...@samsung.com> > > gcc/ > PR sanitizer/62140 > * asan.c (asan_mem_ref_get_end): Handle non-ptroff_t lengths. > (build_check_stmt): Likewise. > (instrument_strlen_call): Likewise. > (asan_expand_check_ifn): Likewise and fix types. > (maybe_cast_to_ptrmode): New function. > > gcc/testsuite/ > PR sanitizer/62140 > * c-c++-common/asan/pr62140-1.c: New test. > * c-c++-common/asan/pr62140-2.c: New test. Ok, thanks. Jakub