fixed bug #1380447 - Abnormal program termination while writing the uninstaller
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4443 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2e65882daa
commit
2822e9a3ab
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ int MMapBuf::add(const void *data, int len)
|
|||
if (len <= 0) return 0;
|
||||
resize(getlen() + len);
|
||||
memcpy((char*)get(getlen() - len, len), data, len);
|
||||
release();
|
||||
return getlen() - len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue