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 636984 Details for
Bug 869040
CVE-2012-4540 icedtea-web: IcedTeaScriptableJavaObject::invoke off-by-one heap-based buffer overflow
[?]
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]
Final patch from Deepak Bhole
MOZ756792.patch (text/plain), 1.64 KB, created by
Tomas Hoger
on 2012-11-02 08:45:54 UTC
(
hide
)
Description:
Final patch from Deepak Bhole
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2012-11-02 08:45:54 UTC
Size:
1.64 KB
patch
obsolete
>diff -r 2c3a063c1aff plugin/icedteanp/IcedTeaScriptablePluginObject.cc >--- a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc Fri Oct 26 12:15:18 2012 +0200 >+++ b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc Fri Oct 26 15:28:31 2012 -0400 >@@ -591,10 +591,7 @@ > > if (java_result->error_occurred) > { >- // error message must be allocated on heap >- char* error_msg = (char*) malloc(java_result->error_msg->length()*sizeof(char)); >- strcpy(error_msg, java_result->error_msg->c_str()); >- browser_functions.setexception(npobj, error_msg); >+ browser_functions.setexception(npobj, java_result->error_msg->c_str()); > return false; > } > >@@ -853,11 +850,7 @@ > createJavaObjectFromVariant(instance, args[i], &id); > if (id == "0") > { >- // error message must be allocated on heap >- char* error_msg = (char*) malloc(1024*sizeof(char)); >- strcpy(error_msg, "Unable to create argument on Java side"); >- >- browser_functions.setexception(npobj, error_msg); >+ browser_functions.setexception(npobj, "Unable to create argument on Java side"); > return false; > } > >@@ -871,12 +864,7 @@ > > if (java_result->error_occurred) > { >- // error message must be allocated on heap >- int length = java_result->error_msg->length(); >- char* error_msg = (char*) malloc((length+1)*sizeof(char)); >- strcpy(error_msg, java_result->error_msg->c_str()); >- >- browser_functions.setexception(npobj, error_msg); >+ browser_functions.setexception(npobj, java_result->error_msg->c_str()); > return false; > } >
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 869040
:
631741
|
635041
|
636971
| 636984