[ros-bugs] [Bug 2346] New: Download! stack invalidation
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Wed Jun 27 10:59:21 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=2346
Summary: Download! stack invalidation
Product: ReactOS Apps (rosapps)
Version: unspecified
Platform: x86 Hardware
OS/Version: Microsoft Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: Utilities
AssignedTo: ros-bugs at reactos.org
ReportedBy: ignazb at gmail.com
QAContact: ros-bugs at reactos.org
See patch - pretty self-explanatory
Index: xml.c
===================================================================
--- xml.c (revision 27285)
+++ xml.c (working copy)
@@ -187,8 +187,8 @@
while (!done)
{
- size_t len = fread (buffer, 1, sizeof(buffer), file);
- done = len < sizeof(buffer);
+ size_t len = fread (buffer, 1, sizeof(buffer) - 1, file);
+ done = len < sizeof(buffer) - 1;
buffer[len] = 0;
if(!XML_Parse(parser, buffer, len, done))
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list