]> granicus.if.org Git - gc/commit
Fix potential null dereference in GC_CONS
authorIvan Maidanski <ivmai@mail.ru>
Mon, 7 May 2018 21:47:48 +0000 (00:47 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 17 Jul 2018 06:15:02 +0000 (09:15 +0300)
commitcff27afde467f238fd74d4c88963ef49d325c7ac
tree8b3fee7e1eca839698c182ffbd30c6a6633dfa39
parenteb7ed711a0dfcf7ac799998d004141867a57bb0e
Fix potential null dereference in GC_CONS
(a cherry-pick of commit e39899ac from 'release-7_6')

* include/gc_inline.h (GC_CONS): Store second element only if result
is non-null; store first element along with second one.
include/gc_inline.h