From: William C. <wc...@us...> - 2018-07-16 17:24:05
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "oprofile". The branch, wcohen/f28_fixes has been updated via 1f60f3646aa8a8267d9c0ebc251143fbe340d3c4 (commit) via 698a1f527fadd7ec59086124ff2a01cb4bf4e50f (commit) from 182c52afe14cbe904ab36993099a432c5be8bb91 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1f60f3646aa8a8267d9c0ebc251143fbe340d3c4 Author: William Cohen <wc...@re...> Date: Mon Jul 16 11:35:03 2018 -0400 Rework string handling in op_pe_utils.cpp to avoid truncation and overflows The GCC-8.1.1 compiler in Fedora 28 notes there are some possible truncations and overflows in the op_pe_utils.cpp. The code has been updated to avoid those possible problems. Signed-off-by: William Cohen <wc...@re...> commit 698a1f527fadd7ec59086124ff2a01cb4bf4e50f Author: William Cohen <wc...@re...> Date: Mon Jul 16 11:04:06 2018 -0400 Eliminate possible string truncations and buffer overflows in opjitconv.c The newer GCC-8.1.1 in Fedora 28 flagged a number of places in the opjitconv.c code for truncations and buffer overflows. Made some of the code use snprintf to make operations a bit clearer and checked the return values of the sting operations to handle possible truncations properly. Signed-off-by: William Cohen <wc...@re...> ----------------------------------------------------------------------- Summary of changes: libpe_utils/op_pe_utils.cpp | 29 ++++++++++++------------ opjitconv/opjitconv.c | 54 ++++++++++++++++++++++++--------------------- 2 files changed, 43 insertions(+), 40 deletions(-) hooks/post-receive -- oprofile |