about summary refs log tree commit diff
path: root/pkgs/development/libraries/libyaml/cve-2013-6393_b.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libyaml/cve-2013-6393_b.patch')
-rw-r--r--pkgs/development/libraries/libyaml/cve-2013-6393_b.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkgs/development/libraries/libyaml/cve-2013-6393_b.patch b/pkgs/development/libraries/libyaml/cve-2013-6393_b.patch
deleted file mode 100644
index db2b9ff2bba6a..0000000000000
--- a/pkgs/development/libraries/libyaml/cve-2013-6393_b.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/src/api.c	
-+++ a/src/api.c	
-@@ -117,7 +117,12 @@ 
- YAML_DECLARE(int)
- yaml_stack_extend(void **start, void **top, void **end)
- {
--    void *new_start = yaml_realloc(*start, ((char *)*end - (char *)*start)*2);
-+    void *new_start;
-+
-+    if ((char *)*end - (char *)*start >= INT_MAX / 2)
-+	return 0;
-+
-+    new_start = yaml_realloc(*start, ((char *)*end - (char *)*start)*2);
- 
-     if (!new_start) return 0;
-