1 May 2012 03:40
[ swig-Patches-3522674 ] Java STRING_OUT typemap could use uninitialized memory
<SourceForge.net>
2012-05-01 01:40:31 GMT
2012-05-01 01:40:31 GMT
Patches item #3522674, was opened at 2012-04-30 18:40 Message generated for change (Tracker Item Submitted) made by ldav1s You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3522674&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Leo Davis (ldav1s) Assigned to: Nobody/Anonymous (nobody) Summary: Java STRING_OUT typemap could use uninitialized memory Initial Comment: I noticed that the STRING_OUT typemap could possibly reference uninitialized memory: char **arg1 = (char **) 0 ; char *temp1 ; // here's the uninitialized memory ... arg1 = &temp1; // we point at the uninitialized memory } result = (int)foo(arg1); // foo() takes a code path that does not set up *arg1, like returning immediately jresult = (jint)result; { jstring jnewstring = NULL;(Continue reading)
, I think we should
> do it a.s.a.p. to let people start working even before the official GSoC
> beginning if they feel like it, any objections? If not, should I just
> create the branch for the student whom I'm mentoring or will William
> create
> all branches at once? And, if I do need to create it myself, should we
> branch from rel-2.0.5 or the current trunk?
>
> I'd also like to use slightly different branches names if possible: the
> current convention is to use gsoc$YEAR-$STUDENT (see
>
RSS Feed