commit | 07459377350404b2626b1204397a51e8ea73002b | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@google.com> | Wed Oct 19 15:33:31 2016 -0400 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Thu Oct 20 10:53:01 2016 -0400 |
tree | e062120580f7057a3c5132f14d1ec8dc926dce70 | |
parent | 5389540050505ad20ce56dfb5201c3ce2221f576 [diff] |
Fix parsing of unsigned constants. We were using strtol(3) so unsigned constants that wouldn't fit in a signed int were not parsed correctly. Fix by using strtoul(3) on signed overflow. Bug: crbug.com/657508 Test: syscall_filter_unittest Change-Id: I7a986cf6c5f3a84dbd8605861794e9d7ef9c4ce7