diff options
Diffstat (limited to 'meta/packages/attr/attr-2.4.44/double-free.patch')
-rw-r--r-- | meta/packages/attr/attr-2.4.44/double-free.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/attr/attr-2.4.44/double-free.patch b/meta/packages/attr/attr-2.4.44/double-free.patch new file mode 100644 index 0000000000..6fc684f6c2 --- /dev/null +++ b/meta/packages/attr/attr-2.4.44/double-free.patch @@ -0,0 +1,18 @@ +commit 5b28eb3b0e0430ce6af28edc9100ca23299d1218 +Author: Kamil Dudka <kdudka@redhat.com> +Date: Thu Jun 3 15:29:54 2010 +0200 + + attr_parse_attr_conf: eliminate a double free + +diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c +index 030bbf5..2697328 100644 +--- a/libattr/attr_copy_action.c ++++ b/libattr/attr_copy_action.c +@@ -81,6 +81,7 @@ repeat: + fclose(file); + file = NULL; + free(text); ++ text = NULL; + size_guess *= 2; + goto repeat; + } |