diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.bin | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.bin')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.bin | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.bin b/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.bin new file mode 100644 index 000000000..a5a70a2c0 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20110630/544fd436/attachment.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 |