You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2017/03/08 19:17:17 UTC

[2/3] incubator-trafodion git commit: Handle unsafe sprintf call causing DCS Master to core on Centos 7.x

Handle unsafe sprintf call causing DCS Master to core on Centos 7.x


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/8a3cfd6f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/8a3cfd6f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/8a3cfd6f

Branch: refs/heads/release2.1
Commit: 8a3cfd6fecdc86ed59e6968dcfab6398398f316a
Parents: d7c8adf
Author: Arvind Narain <ar...@esgyn.com>
Authored: Sat Aug 6 01:09:01 2016 +0000
Committer: kevinxu021 <ka...@esgyn.cn>
Committed: Wed Mar 8 01:18:12 2017 +0000

----------------------------------------------------------------------
 core/sqf/src/seabed/src/ms.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/8a3cfd6f/core/sqf/src/seabed/src/ms.cpp
----------------------------------------------------------------------
diff --git a/core/sqf/src/seabed/src/ms.cpp b/core/sqf/src/seabed/src/ms.cpp
index 3984fad..f887547 100644
--- a/core/sqf/src/seabed/src/ms.cpp
+++ b/core/sqf/src/seabed/src/ms.cpp
@@ -1391,6 +1391,7 @@ SB_THROWS_FATAL {
                         true, // args
                         &lv_cmdline,
                         lv_cmdline.size());
+#if 0
 #ifdef SQ_PHANDLE_VERIFIER
     sprintf(&lv_line, "msg_init - p-id=%d/%d" PFVY ", tid=%ld, pname=%s, cmdline=%s, %s\n",
 #else
@@ -1405,6 +1406,7 @@ SB_THROWS_FATAL {
             ga_ms_su_pname,
             &lv_cmdline,
             ms_seabed_vers());
+#endif
 
     // setup timer module
     sb_timer_init();