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 844423 Details for
Bug 998941
CVE-2014-0791 freerdp: integer overflow in heap allocation in license_read_scope_list()
[?]
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]
Possible patch
patch (text/plain), 773 bytes, created by
Huzaifa S. Sidhpurwala
on 2014-01-02 08:55:29 UTC
(
hide
)
Description:
Possible patch
Filename:
MIME Type:
Creator:
Huzaifa S. Sidhpurwala
Created:
2014-01-02 08:55:29 UTC
Size:
773 bytes
patch
obsolete
>commit 89653810adaff455c3eb263dc30d60d3d3caded1 >Author: Huzaifa Sidhpurwala <huzaifas@redhat.com> >Date: Thu Jan 2 14:28:04 2014 +0530 > > Fix possible integer overflow in license_read_scope_list() > >diff --git a/libfreerdp/core/license.c b/libfreerdp/core/license.c >index e26e5e0..d5b5d33 100644 >--- a/libfreerdp/core/license.c >+++ b/libfreerdp/core/license.c >@@ -670,6 +670,9 @@ BOOL license_read_scope_list(wStream* s, SCOPE_LIST* scopeList) > > Stream_Read_UINT32(s, scopeCount); /* ScopeCount (4 bytes) */ > >+ if (Stream_GetRemainingLength(s) / sizeof(LICENSE_BLOB) < scopeCount) >+ return FALSE; /* Avoid overflow in malloc */ >+ > scopeList->count = scopeCount; > scopeList->array = (LICENSE_BLOB*) malloc(sizeof(LICENSE_BLOB) * scopeCount); >
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 998941
: 844423