metal/mtce/src/hwmon
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
..
scripts Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hp380.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmon.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonAlarm.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonAlarm.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonClass.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonClass.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonFsm.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonGroup.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonGroup.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonHdlr.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonHttp.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonHttp.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonHttpClient.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonInit.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonIpmi.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonIpmi.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonJson.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonJson.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonModel.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonModel.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonMsg.cpp Add explicate string terminator for protection 2018-11-05 14:56:36 +08:00
hwmonParse.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonSensor.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonSensor.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonThreads.cpp fix the wrong code to set the terminate char 2018-11-23 02:01:45 +08:00
hwmonThreads.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hwmonUtil.h 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