File: format.patch

package info (click to toggle)
pd-hid 0.7-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,108 kB
  • sloc: ansic: 6,171; makefile: 321
file content (17 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fixed format-security issues
Author: IOhannes m zmölnig
Forwarded: no
Last-Update: 2018-01-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-hid.orig/hid.c
+++ pd-hid/hid.c
@@ -95,7 +95,7 @@
 		//t_int arg[8];
 		va_start(ap, fmt);
 		vsnprintf(buf, MAXPDSTRING-1, fmt, ap);
-		pd_error(x, buf);
+		pd_error(x, "%s", buf);
 		va_end(ap);
 	}
 }