[PATCH] D33305: [ubsan] Add a check for pointer overflow UB

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 17:02:26 PDT 2017


vsk added a comment.

@sberg I agree with @regehr's analysis, and do think that this is a real overflow. Once https://reviews.llvm.org/D34121 lands, we will report this issue in a better way:

  runtime error: addition of unsigned offset to 0x7fff59dfe990 overflowed to 0x7fff59dfe980


Repository:
  rL LLVM

https://reviews.llvm.org/D33305





More information about the cfe-commits mailing list