commit | 88cbc5827b67010b03e4715dba78d0f333224ae2 | [log] [tgz] |
---|---|---|
author | Yaowu Xu <yaowu@google.com> | Wed Nov 16 15:18:13 2016 -0800 |
committer | Nathan Egge <negge@mozilla.com> | Thu Nov 17 21:11:23 2016 +0000 |
tree | 80b4a615174c422fef79df7e5acff1b1e00d9f14 | |
parent | 03bd210f2291188be8fab6187662443d0fef413a [diff] |
Use an alternative fix to ubsan warning. This commit revert the previous fix of the ubsan warning for unsigned int overflow, and use a better fix by moving the offs-- inside the while loop to avoid "0-1" situation. Change-Id: Id4a3e03859ebcdf264df0808412b30841028f87c