Add pair check in unmarshalling.

Closes #1070.
This commit is contained in:
Sam Tobin-Hochstadt 2015-09-21 10:35:43 -04:00
parent aaf098f203
commit 083029fa6f

View File

@ -6805,6 +6805,7 @@ static Scheme_Object *unmarshal_free_id_info(Scheme_Object *p, Scheme_Unmarshal_
phase = SCHEME_CDR(p);
p = SCHEME_CAR(p);
if (!SCHEME_PAIRP(p)) return_NULL;
o = scheme_make_stx(SCHEME_CAR(p), NULL, NULL);
p = datum_to_wraps(SCHEME_CDR(p), ut);
if (!p) return_NULL;