mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgscm: Initialize nesting stack.
* tests/gpgscm/scheme.c (scheme_init_custom_alloc): Initialize nesting stack. Fixes-commit: f2249b737055f84842778285bbeff5e61fa55225 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
869c06efa7
commit
c2e713d9e2
@ -4765,6 +4765,7 @@ int scheme_init_custom_alloc(scheme *sc, func_alloc malloc, func_dealloc free) {
|
||||
sc->save_inport=sc->NIL;
|
||||
sc->loadport=sc->NIL;
|
||||
sc->nesting=0;
|
||||
memset (sc->nesting_stack, 0, sizeof sc->nesting_stack);
|
||||
sc->interactive_repl=0;
|
||||
sc->strbuff = sc->malloc(STRBUFFSIZE);
|
||||
if (sc->strbuff == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user