diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-05-14 21:19:14 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-05-14 21:32:24 +0100 |
commit | 98a31ff633b1c2f14e1cc7e8fe3b435fe6739234 (patch) | |
tree | 06587b0d3d665a01a98000fd2f9c0e2661172b9c /CHANGES.current | |
parent | b062d998e9f31c9f0cd017d3e12d9b3ae3c2bf9f (diff) | |
download | swig-98a31ff633b1c2f14e1cc7e8fe3b435fe6739234.tar.gz |
Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value.
Closes #434
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index af6707824..5b572e04f 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,13 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.9 (in progress) =========================== +2016-05-14: wsfulton + Fix #434 - Passing classes by value as parameters in director methods did not create + a copy of the argument leading to invalid memory accesses if the object was used + after the upcall into the target language. Passing arguments by value shouldn't give + rise to these sorts of memory problems and so the objects are now copied and ownership + of their lifetime is controlled by the target language. + 2016-05-07: wsfulton Fix #611. Fix assertion handling defaultargs when using %extend for a template class and the extended methods contain default arguments. |