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 306797 Details for
Bug 448541
CVE-2008-1109 evolution: iCalendar buffer overflow via large description parameter
[?]
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
CVE-2008-1109.patch (text/plain), 1.41 KB, created by
Matthew Barnes
on 2008-05-27 16:55:45 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Matthew Barnes
Created:
2008-05-27 16:55:45 UTC
Size:
1.41 KB
patch
obsolete
>Index: calendar/gui/itip-utils.c >=================================================================== >--- calendar/gui/itip-utils.c (revision 35555) >+++ calendar/gui/itip-utils.c (working copy) >@@ -172,50 +172,16 @@ get_attendee_if_attendee_sentby_is_user > } > > static char * >-html_new_lines_for (char *string) >+html_new_lines_for (const char *string) > { >- char *html_string = (char *) malloc (sizeof (char)* (3500)); >- int length = strlen (string); >- int index = 0; >- char *index_ptr = string; >- char *temp = string; >+ gchar **lines; >+ gchar *joined; > >- /*Find the first occurence*/ >- index_ptr = strstr ((const char *)temp, "\n"); >+ lines = g_strsplit_set (string, "\n", -1); >+ joined = g_strjoinv ("<br>", lines); >+ g_strfreev (lines); > >- /*Doesn't occur*/ >- if (index_ptr == NULL) { >- strcpy (html_string, (const char *)string); >- html_string[length] = '\0'; >- return html_string; >- } >- >- /*Split into chunks inserting <br> for \n */ >- do{ >- while (temp != index_ptr){ >- html_string[index++] = *temp; >- temp++; >- } >- temp++; >- >- html_string[index++] = '<'; >- html_string[index++] = 'b'; >- html_string[index++] = 'r'; >- html_string[index++] = '>'; >- >- index_ptr = strstr ((const char *)temp, "\n"); >- >- } while (index_ptr); >- >- /*Don't leave out the last chunk*/ >- while (*temp != '\0'){ >- html_string[index++] = *temp; >- temp++; >- } >- >- html_string[index] = '\0'; >- >- return html_string; >+ return joined; > } > > char *
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 448541
: 306797