ha/service-mgmt/sm-common-1.0.0/src
Luis Botello 196c036013 Improve security by avoiding buffer overflows
This patch adds compiler flags to improve the security of STX code.
Flags added:
Format string vulnerabilities: CFLAGS="-Wformat -Wformat-security"
Compiler will treat string format warnings as errors,
so at compiling level, buffer overflow is avoided.

Story: 2004380
Task: 28823

Signed-off-by: Luis Botello  <luis.botello.ortega@intel.com>
Reviewed-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
             Victor Rodriguez <vm.rod25@gmail.com>
Suggested-by: Victor Rodriguez <vm.rod25@gmail.com>
             Erich Cordoba <erich.cordoba.malibran@intel.com>

Change-Id: I45a0002288db434bc79c477c231f900e477347a1
2019-01-09 05:34:07 -06:00
..
Makefile Improve security by avoiding buffer overflows 2019-01-09 05:34:07 -06:00
sm_debug.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_debug.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_debug_thread.c sm components to use C++11 standard 2018-08-20 15:44:01 +00:00
sm_debug_thread.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_eru_db.c sm components to use C++11 standard 2018-08-20 15:44:01 +00:00
sm_eru_db.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_eru_dump.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_eru_main.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_eru_process.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_eru_process.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_hw.c Initial variable before read 2018-10-22 08:46:31 +08:00
sm_hw.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_limits.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_list.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_netlink.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_netlink.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_node_stats.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_node_stats.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_node_utils.c Change compute node to worker node personality 2018-12-11 20:55:40 -05:00
sm_node_utils.h Change compute node to worker node personality 2018-12-11 20:55:40 -05:00
sm_selobj.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_selobj.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_sha512.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_sha512.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_thread_health.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_thread_health.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_time.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_time.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_timer.c sm components to use C++11 standard 2018-08-20 15:44:01 +00:00
sm_timer.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_trap.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_trap.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_trap_thread.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_trap_thread.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_types.c split-brain avoidance improvement 2018-11-08 20:18:43 +00:00
sm_types.h split-brain avoidance improvement 2018-11-08 20:18:43 +00:00
sm_util_types.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_util_types.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_utils.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_utils.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_uuid.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_uuid.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_main.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_module.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_module.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_nfs.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_nfs.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_process.c StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_watchdog_process.h StarlingX open source release updates 2018-05-31 07:36:26 -07:00