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 311275 Details for
Bug 454077
CVE-2008-4098 mysql: incomplete upstream fix for CVE-2008-2079
[?]
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]
Devin Carraway's proposed fix
devin-CVE-2008-2079-fix.diff (text/plain), 717 bytes, created by
Tomas Hoger
on 2008-07-08 15:09:25 UTC
(
hide
)
Description:
Devin Carraway's proposed fix
Filename:
MIME Type:
Creator:
Tomas Hoger
Created:
2008-07-08 15:09:25 UTC
Size:
717 bytes
patch
obsolete
>diff -u a/sql/sql_parse.cc b/sql/sql_parse.cc >--- a/sql/sql_parse.cc >+++ b/sql/sql_parse.cc >@@ -7876,7 +7876,7 @@ > > static bool test_if_data_home_dir(const char *dir) > { >- char path[FN_REFLEN], conv_path[FN_REFLEN]; >+ char path[FN_REFLEN], conv_path[PATH_MAX+1], real_path[PATH_MAX+1]; > uint dir_len, home_dir_len= strlen(mysql_unpacked_real_data_home); > DBUG_ENTER("test_if_data_home_dir"); > >@@ -7885,7 +7885,9 @@ > > (void) fn_format(path, dir, "", "", > (MY_RETURN_REAL_PATH|MY_RESOLVE_SYMLINKS)); >- dir_len= unpack_dirname(conv_path, dir); >+ if (!realpath(path, real_path)) >+ DBUG_RETURN(1); >+ dir_len= unpack_dirname(conv_path, real_path); > > if (home_dir_len <= dir_len) > {
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 454077
:
311275
|
378566