]> git.pld-linux.org Git - packages/kernel-tools.git/commitdiff
- added format patch (-Werror=format-security fix for hv tools)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Aug 2016 14:42:21 +0000 (16:42 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Aug 2016 14:42:21 +0000 (16:42 +0200)
kernel-tools-format.patch [new file with mode: 0644]

diff --git a/kernel-tools-format.patch b/kernel-tools-format.patch
new file mode 100644 (file)
index 0000000..e700ac7
--- /dev/null
@@ -0,0 +1,11 @@
+--- linux-4.7/tools/hv/hv_kvp_daemon.c.orig    2016-07-24 21:23:50.000000000 +0200
++++ linux-4.7/tools/hv/hv_kvp_daemon.c 2016-08-27 20:27:31.468372672 +0200
+@@ -702,7 +702,7 @@
+       if (dir == NULL)
+               return NULL;
+-      snprintf(dev_id, sizeof(dev_id), kvp_net_dir);
++      snprintf(dev_id, sizeof(dev_id), "%s", kvp_net_dir);
+       q = dev_id + strlen(kvp_net_dir);
+       while ((entry = readdir(dir)) != NULL) {
This page took 0.205439 seconds and 4 git commands to generate.