From 9a75eca79fb27d169a9b130e7a6349d398cf6da4 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 22 Dec 2006 12:47:03 +0000 Subject: [PATCH] fixed bug #1620178 - System::Store l crash installer when private stack is empty git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4845 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/Buffers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Contrib/System/Source/Buffers.c b/Contrib/System/Source/Buffers.c index f698e352..2f7e8e90 100644 --- a/Contrib/System/Source/Buffers.c +++ b/Contrib/System/Source/Buffers.c @@ -84,6 +84,8 @@ PLUGINFUNCTION(Store) break; case 'l': case 'L': + if (tempstack == NULL) break; + // Fill with data copymem(g_variables, tempstack->Data, size);