You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
deadbeef/segfault_fix.patch

13 lines
373 B

diff -uNdr deadbeef-1.8.8_orig/tf.c deadbeef-1.8.8_new/tf.c
--- deadbeef-1.8.8_orig/tf.c 2021-08-01 20:00:05.000000000 +0300
+++ deadbeef-1.8.8_new/tf.c 2021-09-23 08:28:45.589428627 +0300
@@ -3650,7 +3650,7 @@
c.i = script;
- uint8_t code[strlen(script) * 3];
+ uint8_t code[strlen(script) * 3 + 1];
memset (code, 0, sizeof (code));
c.o = code;