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 308906 Details for
Bug 450825
CVE-2008-2663 ruby: Integer overflows in rb_ary_store()
[?]
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]
Drew Yao's proposed patch against ruby 1.8.5
rb_ary_store_ruby1.8.5.patch (text/plain), 471 bytes, created by
Tomas Hoger
on 2008-06-11 08:51:55 UTC
(
hide
)
Description:
Drew Yao's proposed patch against ruby 1.8.5
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2008-06-11 08:51:55 UTC
Size:
471 bytes
patch
obsolete
>--- array.c.orig 2008-04-22 11:19:35.000000000 -0700 >+++ array.c 2008-04-22 11:23:38.000000000 -0700 >@@ -367,8 +367,8 @@ > new_capa = ARY_DEFAULT_SIZE; > } > new_capa += idx; >- if (new_capa * (long)sizeof(VALUE) <= new_capa) { >- rb_raise(rb_eArgError, "index too big"); >+ if (new_capa < 0 || new_capa > LONG_MAX / sizeof(VALUE)) { >+ rb_raise(rb_eArgError, "index too big"); > } > REALLOC_N(RARRAY(ary)->ptr, VALUE, new_capa); > RARRAY(ary)->aux.capa = new_capa;
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 450825
: 308906 |
308907