diff options
author | Dan Gudmundsson <[email protected]> | 2015-05-19 10:01:42 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-06-01 13:07:32 +0200 |
commit | 5b2ad02d50a23b5e82f9ebbc644622e42199ea95 (patch) | |
tree | fead9dbe4e5365808940e3e301c76745e4f976da /lib/wx/c_src/wxe_return.h | |
parent | 8260f916c2ab9b9dff9752b47e47d07ac3d95c92 (diff) | |
download | otp-5b2ad02d50a23b5e82f9ebbc644622e42199ea95.tar.gz otp-5b2ad02d50a23b5e82f9ebbc644622e42199ea95.tar.bz2 otp-5b2ad02d50a23b5e82f9ebbc644622e42199ea95.zip |
wx: Fix bad float in return values
To many floats in return value could cause a reallocation and
pointers to reallocated data. Fix it by ensuring that the temp
float array is large enough before add values to it.
Diffstat (limited to 'lib/wx/c_src/wxe_return.h')
-rw-r--r-- | lib/wx/c_src/wxe_return.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wx/c_src/wxe_return.h b/lib/wx/c_src/wxe_return.h index 80946e2dc6..a157348f1d 100644 --- a/lib/wx/c_src/wxe_return.h +++ b/lib/wx/c_src/wxe_return.h @@ -116,6 +116,8 @@ public: void add(const wxHtmlLinkInfo &val); + void ensureFloatCount(size_t n); + int send(); void reset(); |