Tor Didriksen
b522a6ce78
Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS
...
handle_segfault is the signal handler code of mysqld. however, it makes
calls to potentially unsafe functions localtime_r, fprintf, fflush.
include/my_stacktrace.h:
Add safe versions of itoa() write() and snprintf().
libmysqld/CMakeLists.txt:
Move signal handler to separate file.
mysys/stacktrace.c:
Remove unsafe function calls.
sql/CMakeLists.txt:
Move signal handler to separate file.
sql/mysqld.cc:
Move signal handler to separate file.
sql/set_var.h:
Add missing #include dependency.
sql/sys_vars.cc:
Cleanup .h and .cc files.
sql/sys_vars.h:
Cleanup .h and .cc files.
2011-12-02 14:16:48 +01:00
..
2011-06-30 17:46:53 +02:00
2011-08-15 20:12:11 +02:00
2006-12-23 20:20:40 +01:00
2011-06-30 17:46:53 +02:00
2011-08-29 11:34:48 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-09-27 17:44:31 +05:30
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-07-15 14:08:14 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-09-01 21:48:04 +03:00
2011-07-04 01:25:49 +02:00
2011-07-04 01:25:49 +02:00
2011-03-29 14:43:49 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-07-04 01:25:49 +02:00
2011-08-15 18:29:38 +04:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2009-09-23 23:32:31 +02:00
2011-03-29 14:43:49 +02:00
2011-06-30 17:46:53 +02:00
2011-03-01 13:03:31 +01:00
2011-06-30 17:46:53 +02:00
2011-12-02 14:16:48 +01:00
2011-06-30 17:31:31 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2011-07-04 01:25:49 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2006-12-31 01:02:27 +01:00
2007-09-13 16:19:46 +02:00
2011-06-30 17:46:53 +02:00
2011-05-06 17:39:20 +04:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-07-07 12:42:14 +03:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2006-12-23 20:17:15 +01:00
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2011-02-11 15:00:09 +01:00
2011-06-30 17:37:13 +02:00
2011-07-11 17:11:41 +01:00