Bugzilla – Attachment 26006 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-1.0.0-fix_overflow.patch
wv-1.0.0-fix_overflow.patch (text/plain), 1.65 KB, created by
Stanislav Brabec
on 2004-11-11 22:08:53 UTC
(
hide
)
Description:
wv-1.0.0-fix_overflow.patch
Filename:
MIME Type:
Creator:
Stanislav Brabec
Created:
2004-11-11 22:08:53 UTC
Size:
1.65 KB
patch
obsolete
>diff -uNr wv-1.0.0/field.c wv-1.0.0.patched/field.c >--- wv-1.0.0/field.c 2002-12-29 17:37:00.000000000 +0100 >+++ wv-1.0.0.patched/field.c 2004-07-12 18:06:48.621848624 +0200 >@@ -98,18 +98,21 @@ > 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; > } >- consumed += 2; > break; > case 's': > case 'S': >@@ -139,6 +142,7 @@ > case 1: > consumed += sprintf (temp, "%d", current->tm_wday); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > case 2: > strcat (timestr, "%d"); >@@ -182,12 +186,13 @@ > case 1: > sprintf (temp, "%d", current->tm_hour % 12); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > default: > strcat (timestr, "%I"); >+ consumed += 2; > break; > } >- consumed += 2; > break; > case 'H': > no = lookahead (token, 'H', 'H'); >@@ -197,6 +202,7 @@ > case 1: > consumed += sprintf (temp, "%d", current->tm_hour); > strcat (timestr, temp); >+ consumed += strlen (temp); > break; > default: > strcat (timestr, "%H"); >@@ -212,6 +218,7 @@ > case 1: > consumed += 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