commit | 8b28517884c3d8297982624bfb6a5f19db3830f6 | [log] [tgz] |
---|---|---|
author | Michael Jones <michaelrj@google.com> | Wed Sep 01 20:09:29 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 03 13:40:18 2021 -0700 |
tree | 7c4bd690899c00a353ddb23623699b46449dccc0 | |
parent | 0006931aac0343e0e8872541a82b38d35755e205 [diff] |
[libc] fix strtointeger hex prefix parsing Fix edge case where "0x" would be considered a complete hexadecimal number for purposes of str_end. Now the hexadecimal prefix needs a valid digit after it, else just the 0 will be counted as the number. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D109084 GitOrigin-RevId: 37ce7349f7e95ef19cd6169e70414286b33114cb