summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-05-08 00:47:48 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-05-08 00:47:48 +0300
commit0ff8f033ccfbd5711b2c17b8b1c056c385c83b6c (patch)
tree79cd82bf331a182d2f49ea23b32847d5b1ca2ee3 /mark_rts.c
parent15a1f641c200855dd006461071e85b8f5e0a4b66 (diff)
downloadbdwgc-0ff8f033ccfbd5711b2c17b8b1c056c385c83b6c.tar.gz
Fix potential null dereference in GC_CONS
* include/gc_inline.h (GC_CONS): Remove granules local variable; replace GC_FAST_MALLOC_GRANS(GC_malloc_kind) to GC_MALLOC_WORDS_KIND(n=2); store second element only if result is non-null; store first element along with second one.
Diffstat (limited to 'mark_rts.c')
0 files changed, 0 insertions, 0 deletions