diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment-0002.bin')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment-0002.bin | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment-0002.bin b/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment-0002.bin new file mode 100644 index 000000000..a5a70a2c0 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment-0002.bin @@ -0,0 +1,31 @@ +--- ./src/zm_rtsp.cpp.orig 2011-06-30 13:37:20.175609094 -0400 ++++ ./src/zm_rtsp.cpp 2011-06-30 13:37:46.618610480 -0400 +@@ -311,7 +311,7 @@ + } + catch( const Exception &e ) + { +- Error( e.getMessage().c_str() ); ++ Error( "%s", e.getMessage().c_str() ); + return( -1 ); + } + +--- ./src/zm_signal.cpp.orig 2011-06-30 13:44:42.850610241 -0400 ++++ ./src/zm_signal.cpp 2011-06-30 13:48:02.785610651 -0400 +@@ -109,7 +109,7 @@ + char **messages = backtrace_symbols( trace, trace_size ); + if ( size_t offset = strcspn( messages[trace_size-1], " " ) ) + { +- snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), messages[trace_size-1] ); ++ snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), "%s", messages[trace_size-1] ); + cmd_ptr += offset; + } + else +@@ -123,7 +123,7 @@ + cmd_ptr += snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), " %p", trace[i] ); + } + Info( "Backtrace complete, please execute the following command for more information" ); +- Info( cmd ); ++ Info( "%s", cmd ); + #endif // HAVE_DECL_BACKTRACE + #endif // ( HAVE_SIGINFO_T && HAVE_UCONTEXT_T ) || HAVE_STRUCT_SIGCONTEXT + #endif // ZM_NO_CRASHTRACE
\ No newline at end of file |