Menu

#149 Buffer overrun in Tray::ConvertTip()

Critical for .90
open
nobody
Core (37)
5
2005-02-09
2005-02-09
Anonymous
No

It should be like the following:

$ diff -u Tray.cpp.original Tray.cpp
--- Tray.cpp.original 2004-02-02 08:55:48.000000000
+0100
+++ Tray.cpp 2005-02-09 18:14:59.683896000 +0100
@@ -490,8 +490,8 @@
}
else
{
- destination[255]=0;
strncpy(destination, (char *)tip, 256);
+ destination[255]=0;
}
return true;
}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB