Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125263 Details for
Bug 185677
app-editors/vim(-core?): format string vulnerability (CVE-2007-2953)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
050_all_vim-7.1-format_str-fix.patch
050_all_vim-7.1-format_str-fix.patch (text/plain), 652 bytes, created by
Ali Polatel (RETIRED)
on 2007-07-18 14:38:47 UTC
(
hide
)
Description:
050_all_vim-7.1-format_str-fix.patch
Filename:
MIME Type:
Creator:
Ali Polatel (RETIRED)
Created:
2007-07-18 14:38:47 UTC
Size:
652 bytes
patch
obsolete
>--- src/ex_cmds.c 2007-07-18 16:35:41.000000000 +0300 >+++ src/ex_cmds.c 2007-07-18 16:43:44.000000000 +0300 >@@ -1607,7 +1607,7 @@ > if (p != NULL) > { > *buf = ' '; /* not really needed? Not with sh, ksh or bash */ >- sprintf((char *)buf + 1, (char *)opt, (char *)fname); >+ sprintf((char *)buf + 1, "%s%s", (char *)opt, (char *)fname); > } > else > sprintf((char *)buf, >@@ -6375,7 +6375,7 @@ > s = ((char_u **)ga.ga_data)[i]; > if (STRNCMP(s, "help-tags", 9) == 0) > /* help-tags entry was added in formatted form */ >- fprintf(fd_tags, (char *)s); >+ fprintf(fd_tags, "%s", s); > else > { > fprintf(fd_tags, "%s\t/*", s);
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 185677
:
125263