diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /sci-physics/bullet/files | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'sci-physics/bullet/files')
-rw-r--r-- | sci-physics/bullet/files/bullet-2.89-no-dangling-pointer.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sci-physics/bullet/files/bullet-2.89-no-dangling-pointer.patch b/sci-physics/bullet/files/bullet-2.89-no-dangling-pointer.patch new file mode 100644 index 000000000000..8eee0016ae28 --- /dev/null +++ b/sci-physics/bullet/files/bullet-2.89-no-dangling-pointer.patch @@ -0,0 +1,26 @@ +From 1c64add35ed4918222ceb4fe93b7bef0e2b4e41c Mon Sep 17 00:00:00 2001 +From: stolk <b.stolk@gmail.com> +Date: Wed, 1 Apr 2020 10:59:16 -0700 +Subject: [PATCH] Do not return a dangling pointer! + +Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> +--- + Extras/ConvexDecomposition/cd_wavefront.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Extras/ConvexDecomposition/cd_wavefront.cpp b/Extras/ConvexDecomposition/cd_wavefront.cpp +index b33080964..53b5784df 100644 +--- a/Extras/ConvexDecomposition/cd_wavefront.cpp ++++ b/Extras/ConvexDecomposition/cd_wavefront.cpp +@@ -437,7 +437,7 @@ const char **InPlaceParser::GetArglist(char *line, int &count) // convert sourc + { + const char **ret = 0; + +- const char *argv[MAXARGS]; ++ static const char *argv[MAXARGS]; + int argc = 0; + + char *foo = line; +-- +2.28.0 + |