[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lparser.c:singlevar() asserts potentially uninitialised value.
- From: Duane Leslie <parakleta@...>
- Date: Wed, 4 May 2016 13:18:33 +1000
In lparser.c function `singlevar()` it checks that the `ls->envn`
named variable (i.e. _ENV) is initialised to a VLOCAL or VUPVAL, but
the `singlevaraux()` function may return VVOID without ever
initialising the `var->k` value. The assert should be instead that
`singlevaraux()` doesn't return VVOID.
Regards,
Duane.