diff options
| author | Barath Kannan <barathsotd@gmail.com> | 2017-11-06 00:33:04 +1100 |
|---|---|---|
| committer | Barath Kannan <barathsotd@gmail.com> | 2017-11-06 00:33:04 +1100 |
| commit | b959f70a9969551a132d691fbd12046d5ea0702e (patch) | |
| tree | d15d129bd480b1ba173322a0e50140ccf1ff487a /ports/libaiff/buffer_uninitialized.patch | |
| parent | 3a5b383bbec74dbaf0f1056e1a5d315e43d79375 (diff) | |
| parent | 330b8d8bab6a3d07165bf7c05fea09a8e0d56348 (diff) | |
| download | vcpkg-b959f70a9969551a132d691fbd12046d5ea0702e.tar.gz vcpkg-b959f70a9969551a132d691fbd12046d5ea0702e.zip | |
merge from master
Diffstat (limited to 'ports/libaiff/buffer_uninitialized.patch')
| -rw-r--r-- | ports/libaiff/buffer_uninitialized.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ports/libaiff/buffer_uninitialized.patch b/ports/libaiff/buffer_uninitialized.patch new file mode 100644 index 000000000..d87ab41c6 --- /dev/null +++ b/ports/libaiff/buffer_uninitialized.patch @@ -0,0 +1,42 @@ +diff --git "a/libaiff.c" "b/libaiff.c" +index e266802..21179f9 100644 +--- "a/libaiff.c" ++++ "b/libaiff.c" +@@ -168,6 +168,9 @@ AIFF_ReadOpenW(const wchar_t *file, int flags) + r->buffer = NULL; + r->buflen = 0; + ++ r->buffer2 = NULL; ++ r->buflen2 = 0; ++ + return r; + } + +@@ -237,6 +240,9 @@ AIFF_ReadOpen(const char *file, int flags) + r->buffer = NULL; + r->buflen = 0; + ++ r->buffer2 = NULL; ++ r->buflen2 = 0; ++ + return r; + } + +@@ -577,6 +583,8 @@ err2: + w->segmentSize = 0; + w->buffer = NULL; + w->buflen = 0; ++ w->buffer2 = NULL; ++ w->buflen2 = 0; + w->tics = 0; + + /* +@@ -659,6 +667,8 @@ err2: + w->segmentSize = 0; + w->buffer = NULL; + w->buflen = 0; ++ w->buffer2 = NULL; ++ w->buflen2 = 0; + w->tics = 0; + + /* |
