Bugzilla – Attachment 26014 Details for
Bug 62767
VUL-0: CVE-2004-0645: abiword2: buffer overflow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
wv-0.7.2+-fix_overflow.patch
wv-0.7.2+-fix_overflow.patch (text/plain), 1.09 KB, created by
Stanislav Brabec
on 2004-11-11 23:13:40 UTC
(
hide
)
Description:
wv-0.7.2+-fix_overflow.patch
Filename:
MIME Type:
Creator:
Stanislav Brabec
Created:
2004-11-11 23:13:40 UTC
Size:
1.09 KB
patch
obsolete
>--- wv/field.c >+++ wv/field.c >@@ -53,6 +53,7 @@ > time_t * mytime) > { > int no; >+ int consumed = 0; > struct tm *current; > char timestr[4096]; > char temp[64]; >@@ -87,15 +88,19 @@ > case 1: > sprintf (temp, "%d", current->tm_mon+1); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > case 2: > strcat (timestr, "%m"); >+ consumed += 2; > break; > case 3: > strcat (timestr, "%b"); >+ consumed += 2; > break; > default: > strcat (timestr, "%B"); >+ consumed += 2; > break; > } > break; >@@ -154,9 +159,11 @@ > case 1: > sprintf (temp, "%d", current->tm_hour % 12); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > default: > strcat (timestr, "%I"); >+ consumed += 2; > break; > } > break; >@@ -182,6 +189,7 @@ > case 1: > sprintf (temp, "%d", current->tm_min); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > default: > strcat (timestr, "%M");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 62767
:
26006
|
26014
|
26021
|
26305