[PATCH] New "strict_string_checks" run-time flag

Ahmed Bougacha ahmed.bougacha at gmail.com
Thu May 21 17:13:37 PDT 2015


Hi Maria, Dmitry,

The strtol/strtoll tests have been sometimes failing, because
array[-1] can be '\0', turning the "READ of size 5" into a "READ of
size 1":  https://llvm.org/bugs/show_bug.cgi?id=23230

I can't think of an alternative that wouldn't be susceptible to the
same problem, can you?  If not, what about relaxing the check to 1|5 ?

Thanks!
-Ahmed


On Mon, Apr 6, 2015 at 11:03 AM, Dmitry Vyukov <dvyukov at google.com> wrote:
> Committed in revision 234187.
> Thanks for working on this!
>
>
> http://reviews.llvm.org/D7123
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list