Marco Wang
2e87f98fe4
Replace sprintf() with snprintf() ( #536 )
...
sprintf poses two security risks:
(1) write to memory where it shouldn't
(2) read from memory where it shouldn't
This commit replaces the use of sprintf() with snprintf()
which has a size parameter to ensure the problems mentioned
above won't take place.
2020-05-08 14:50:55 +08:00
Sergey Sharybin
f94a49c571
Resolve missing prototype warning
...
Makes compilation process less noisy even when using string compiler flags.
2015-12-31 17:55:37 +05:00
Sergiu Dotenco
5aee7c7899
added missing include
2015-07-15 22:35:00 +02:00
Sergiu Dotenco
fa4c5b50a9
do not redefine stl logging macros
2015-07-15 22:34:58 +02:00
09e8dd6289
Add libc++ support
...
Similar patch was provided in
https://code.google.com/p/google-glog/issues/detail?id=121
git-svn-id: https://google-glog.googlecode.com/svn/trunk@142 eb4d4688-79bd-11dd-afb4-1d65580434c0
2014-03-05 05:20:24 +00:00
a106e61178
Support unordered_(map|set) by stl_logging
...
git-svn-id: https://google-glog.googlecode.com/svn/trunk@134 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-18 10:45:46 +00:00
3aa45ed56e
Eliminate use of strstream based on internal changes
...
http://code.google.com/p/google-glog/issues/detail?id=110
git-svn-id: https://google-glog.googlecode.com/svn/trunk@119 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-01-09 16:06:21 +00:00
73b0abc989
Remove trivial warnings produced by clang
...
git-svn-id: https://google-glog.googlecode.com/svn/trunk@107 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-01-12 08:41:09 +00:00
8b90f05746
Fix compile failures with clang in stl_logging_unittest.cc
...
This happens due to the reason I wrote in stl_logging.h.
We don't need utilities.h (which includes logging.h) so we can just
remove it.
git-svn-id: https://google-glog.googlecode.com/svn/trunk@105 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-01-12 07:49:25 +00:00
7b97abb978
Suppress warnings (re-definition of _XOPEN_SOURCE) by including utilities.h first.
...
git-svn-id: https://google-glog.googlecode.com/svn/trunk@50 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-05-19 09:12:00 +00:00
f365379532
Add license information for all source code.
...
git-svn-id: https://google-glog.googlecode.com/svn/trunk@39 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-28 17:04:50 +00:00
b8b4db46fe
glog 0.1
...
git-svn-id: https://google-glog.googlecode.com/svn/trunk@2 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-07 05:43:05 +00:00