metal/mtce/src
Yan Chen b2290e4fd9 fix the wrong code to set the terminate char
Description:

In mtce/src/hwmon/hwmonThreads.cpp, line 266:
    ++dst_ptr = '\0' ;
should be modified as
    *(++dst_ptr) = '\0' ;
Otherwise the code is useless and will generate a compile error in
  higher version gcc.

Reproduce:

Compile the mcte code with gcc 8.2.1 will cause a compile error.
And after the fix, the error is gone.

Closes-Bug: 1804599
Change-Id: I25df255fb14aa3d96c62927eeb7d3e23ae29af2b
Signed-off-by: Yan Chen <yan.chen@intel.com>
2018-11-23 02:01:45 +08:00
..
alarm Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
common Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
fsmon Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
fsync Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
heartbeat Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
hostw Add explicate string terminator for protection 2018-11-05 14:56:36 +08:00
hwmon fix the wrong code to set the terminate char 2018-11-23 02:01:45 +08:00
maintenance Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
mtclog Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pmon Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
public Fix out of band issue. In some case array or string is possible to be 2018-11-02 09:36:13 +08:00
rmon Add explicate string terminator for protection 2018-11-05 14:56:36 +08:00
scripts Mtce: Add heartbeat cluster information for SM query 2018-10-05 22:47:17 +00:00
LICENSE Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
Makefile Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00