Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 847934 Details for
Bug 1033990
CVE-2013-6393 libyaml: heap-based buffer overflow when parsing YAML tags
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
libyaml-node-id-hardening.patch
libyaml-node-id-hardening.patch (text/plain), 728 bytes, created by
Garth Mollett
on 2014-01-09 23:13:18 UTC
(
hide
)
Description:
libyaml-node-id-hardening.patch
Filename:
MIME Type:
Creator:
Garth Mollett
Created:
2014-01-09 23:13:18 UTC
Size:
728 bytes
patch
obsolete
># HG changeset patch ># User Florian Weimer <fweimer@redhat.com> ># Date 1389274355 -3600 ># Thu Jan 09 14:32:35 2014 +0100 ># Node ID 034d7a91581ac930e5958683f1a06f41e96d24a2 ># Parent a54d7af707f25dc298a7be60fd152001d2b3035b >yaml_stack_extend: guard against integer overflow > >diff --git a/src/api.c b/src/api.c >--- a/src/api.c >+++ b/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; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1033990
:
847926
| 847934 |
856317