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 259901 Details for
Bug 384761
CVE-2006-7225 pcre miscalculation of memory requirements for malformed Posix character class
[?]
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]
Patch agains pcre 6.4 provided by Ludwig Nussel of SUSE
pcre-6.4-ver6.7issue18.diff (text/plain), 1.07 KB, created by
Tomas Hoger
on 2007-11-15 15:16:21 UTC
(
hide
)
Description:
Patch agains pcre 6.4 provided by Ludwig Nussel of SUSE
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2007-11-15 15:16:21 UTC
Size:
1.07 KB
patch
obsolete
>18. A valid (though odd) pattern that looked like a POSIX character > class but used an invalid character after [ (for example [[,abc,]]) caused > pcre_compile() to give the error "Failed: internal error: code overflow" or > in some cases to crash with a glibc free() error. This could even happen if > the pattern terminated after [[ but there just happened to be a sequence of > letters, a binary zero, and a closing ] in the memory that followed. >Index: pcre-6.4/pcre_compile.c >=================================================================== >--- pcre-6.4.orig/pcre_compile.c >+++ pcre-6.4/pcre_compile.c >@@ -4239,7 +4239,9 @@ while ((c = *(++ptr)) != 0) > /* Check the syntax for POSIX stuff. The bits we actually handle are > checked during the real compile phase. */ > >- else if (*ptr == '[' && check_posix_syntax(ptr, &ptr, &compile_block)) >+ else if (*ptr == '[' && >+ (ptr[1] == ':' || ptr[1] == '.' || ptr[1] == '=') && >+ check_posix_syntax(ptr, &ptr, &compile_block)) > { > ptr++; > class_optcount = 10; /* Make sure > 1 */
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 384761
: 259901