WIP: temp fix to get past an error in stroull when checking the maps file.
@@ -606,14 +606,16 @@ osGetPageProt(uint64_t addr)
char *end = NULL;
scope_errno = 0;
uint64_t addr1 = scope_strtoull(buf, &end, 0x10);
- if ((addr1 == 0) || (scope_errno != 0)) {
+ //if ((addr1 == 0) || (scope_errno != 0)) {
+ if (addr1 == 0) {
if (buf) scope_free(buf);
scope_fclose(fstream);
return -1;
}
uint64_t addr2 = scope_strtoull(end + 1, &end, 0x10);
- if ((addr2 == 0) || (scope_errno != 0)) {
+ //if ((addr2 == 0) || (scope_errno != 0)) {
+ if (addr2 == 0) {
if (buf) scope_free(buf);
scope_fclose(fstream);
return -1;
