Mageia Bugzilla – Attachment 1911 Details for
Bug 5208
plib new security issue CVE-2011-4620
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for similar code in irrlicht
irrlicht-1.8-string-buffer.patch (text/plain), 383 bytes, created by
David Walser
on 2012-04-03 01:39:22 CEST
(
hide
)
Description:
patch for similar code in irrlicht
Filename:
MIME Type:
Creator:
David Walser
Created:
2012-04-03 01:39:22 CEST
Size:
383 bytes
patch
obsolete
>--- irrlicht-1.8/tests/testUtils.cpp~ 2012-04-02 19:36:06.125128753 -0400 >+++ irrlicht-1.8/tests/testUtils.cpp 2012-04-02 19:36:36.484987335 -0400 >@@ -414,7 +414,7 @@ > > va_list arguments; > va_start(arguments, format); >- vsprintf(logString, format, arguments); >+ vsnprintf(logString, sizeof(logString), format, arguments); > va_end(arguments); > > (void)printf(logString);
--- irrlicht-1.8/tests/testUtils.cpp~ 2012-04-02 19:36:06.125128753 -0400 +++ irrlicht-1.8/tests/testUtils.cpp 2012-04-02 19:36:36.484987335 -0400 @@ -414,7 +414,7 @@ va_list arguments; va_start(arguments, format); - vsprintf(logString, format, arguments); + vsnprintf(logString, sizeof(logString), format, arguments); va_end(arguments); (void)printf(logString);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5208
:
1910
| 1911