From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- .../files/bullet-2.89-no-dangling-pointer.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sci-physics/bullet/files/bullet-2.89-no-dangling-pointer.patch (limited to 'sci-physics/bullet/files') 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 +Date: Wed, 1 Apr 2020 10:59:16 -0700 +Subject: [PATCH] Do not return a dangling pointer! + +Signed-off-by: Ross Charles Campbell +--- + 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 + -- cgit v1.2.3