diff options
Diffstat (limited to 'dev-db/myodbc/files/5.2.7-my_malloc.patch')
-rw-r--r-- | dev-db/myodbc/files/5.2.7-my_malloc.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-db/myodbc/files/5.2.7-my_malloc.patch b/dev-db/myodbc/files/5.2.7-my_malloc.patch deleted file mode 100644 index bc6c65ef3011..000000000000 --- a/dev-db/myodbc/files/5.2.7-my_malloc.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Brau a/util/odbcinstw.c b/util/odbcinstw.c ---- a/util/odbcinstw.c 2014-04-23 21:54:40.000000000 +0200 -+++ b/util/odbcinstw.c 2015-05-08 15:29:09.400568356 +0200 -@@ -68,13 +68,7 @@ - - if (lpszRetBuffer && cbRetBuffer) - { -- ret= malloc(cbRetBuffer + 1); -- /* -- We cannot rely on getting correct results from the next call of -- SQLGetPrivateProfileString. So, taking precautions against unititialized -- values in the allocated buffer. -- */ -- memset(ret, 0, cbRetBuffer + 1); -+ ret= my_malloc(cbRetBuffer + 1, MYF(MY_ZEROFILL)); - } - else - ret= NULL; |