summaryrefslogtreecommitdiffstats
path: root/src/testdir/crash
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-12-04 22:52:23 +0100
committerChristian Brabandt <cb@256bit.org>2023-12-04 22:54:43 +0100
commit5dd41d4b6370b7b7d09d691f9252b3899c66102a (patch)
tree99bcf9a51f84ef73d003206c2d2960b51bd133b3 /src/testdir/crash
parent1e5d66408ef85c750a5af03bbf5cc19b5de7a6bc (diff)
patch 9.0.2149: [security]: use-after-free in exec_instructions()v9.0.2149
Problem: [security]: use-after-free in exec_instructions() Solution: get tv pointer again [security]: use-after-free in exec_instructions() exec_instructions may access freed memory, if the GA_GROWS_FAILS() re-allocates memory. When this happens, the typval tv may still point to now already freed memory. So let's get that pointer again and compare it with tv. If those two pointers differ, tv is now invalid and we have to refresh the tv pointer. closes: #13621 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/crash')
-rw-r--r--src/testdir/crash/poc_uaf_exec_instructionsbin0 -> 69 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/src/testdir/crash/poc_uaf_exec_instructions b/src/testdir/crash/poc_uaf_exec_instructions
new file mode 100644
index 0000000000..49ae8577ff
--- /dev/null
+++ b/src/testdir/crash/poc_uaf_exec_instructions
Binary files differ