Revision: 41416
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41416&view=rev
Author:   davidloman
Date:     2010-11-22 13:45:11 +0000 (Mon, 22 Nov 2010)

Log Message:
-----------
Security fix to logger.  Thanks brlcad!

Modified Paths:
--------------
    rt^3/trunk/src/utility/Logger.cxx

Modified: rt^3/trunk/src/utility/Logger.cxx
===================================================================
--- rt^3/trunk/src/utility/Logger.cxx   2010-11-22 13:44:50 UTC (rev 41415)
+++ rt^3/trunk/src/utility/Logger.cxx   2010-11-22 13:45:11 UTC (rev 41416)
@@ -128,7 +128,7 @@
                std::string std_string = out.str();
                const char* c_string = std_string.c_str();
 
-               bu_log(c_string, "");
+               bu_log("%s", c_string);
        }
 }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to