Fix uninitialised size variable in char **STRING_ARRAY regression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ef7a8a8253
commit
0ebcf05637
2 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.7 (in progress)
|
Version 2.0.7 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2012-05-11: wsfulton
|
||||||
|
[Java] SF patch #3522611 Fix uninitialised size regression in char **STRING_ARRAY
|
||||||
|
introduced in swig-2.0.6.
|
||||||
|
|
||||||
2012-05-11: wsfulton
|
2012-05-11: wsfulton
|
||||||
SF bug #3525050 - Fix regression introduced in swig-2.0.5 whereby defining one typemap
|
SF bug #3525050 - Fix regression introduced in swig-2.0.5 whereby defining one typemap
|
||||||
method such as an 'out' typemap may hide another typemap method such as an 'in' typemap -
|
method such as an 'out' typemap may hide another typemap method such as an 'in' typemap -
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
$1[i] = 0;
|
$1[i] = 0;
|
||||||
} else {
|
} else {
|
||||||
$1 = 0;
|
$1 = 0;
|
||||||
|
size = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue