grub2/grub-2.00-no-double-free.patch
2012-06-18 15:52:14 -04:00

17 lines
356 B
Diff

From: Vladimir Serbinenko <phcoder@gmail.com>
Subject: Avoid double-free in grub-probe
Date: 2012-06-05 15:16:14 +0000
=== modified file 'util/grub-probe.c'
--- a/util/grub-probe.c 2012-06-05 09:31:10 +0000
+++ b/util/grub-probe.c 2012-06-05 15:16:14 +0000
@@ -169,8 +169,6 @@
}
*d = 0;
- free ((char *) orig_path);
-
return new_path;
}