projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git]
/
libgc
/
ptr_chck.c
diff --git
a/libgc/ptr_chck.c
b/libgc/ptr_chck.c
index d83d730d3433f5f29b2da36e1c97013869b92394..621a45f0346fead0739260b7866053d199ef76ff 100644
(file)
--- a/
libgc/ptr_chck.c
+++ b/
libgc/ptr_chck.c
@@
-165,7
+165,7
@@
void (*GC_is_valid_displacement_print_proc) GC_PROTO((GC_PTR)) =
pdispl = HBLKDISPL(p);
map_entry = MAP_ENTRY((hhdr -> hb_map), pdispl);
if (map_entry == OBJ_INVALID
pdispl = HBLKDISPL(p);
map_entry = MAP_ENTRY((hhdr -> hb_map), pdispl);
if (map_entry == OBJ_INVALID
- ||
sz > MAXOBJBYTES && (ptr_t)p >= (ptr_t)h + sz
) {
+ ||
(sz > MAXOBJBYTES && (ptr_t)p >= (ptr_t)h + sz)
) {
goto fail;
}
return(p);
goto fail;
}
return(p);