diff --git a/binutils-CVE-2022-47010.patch b/binutils-CVE-2022-47010.patch new file mode 100644 index 0000000000000000000000000000000000000000..da75d857ebbba5369c8369f11a3b0656dfd3f04b --- /dev/null +++ b/binutils-CVE-2022-47010.patch @@ -0,0 +1,15 @@ +--- a/binutils/prdbg.c ++++ b/binutils/prdbg.c +@@ -742,12 +742,9 @@ pr_function_type (void *p, int argcount, bool varargs) + + strcat (s, ")"); + +- if (! substitute_type (info, s)) +- return false; +- ++ bool ret = substitute_type (info, s); + free (s); +- +- return true; ++ return ret; + } \ No newline at end of file