Fix possible uninitialised memory access in char **STRING_OUT typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0ebcf05637
commit
d9393bc22a
2 changed files with 5 additions and 0 deletions
|
|
@ -114,6 +114,7 @@
|
|||
return $null;
|
||||
}
|
||||
$1 = &temp;
|
||||
*$1 = 0;
|
||||
}
|
||||
|
||||
%typemap(argout) char **STRING_OUT {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue