aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-01-13 11:15:43 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2023-01-13 11:15:43 -0800
commit68e0003e12184a9bc13e06d35b6bb168f5f27ed3 (patch)
tree92de563e9a7da054445ac6c8834b2bdf43baa233 /contrib
parent027d8f7848f30e5b075dc0c9d74107a1747de190 (diff)
downloadgdb-68e0003e12184a9bc13e06d35b6bb168f5f27ed3.zip
gdb-68e0003e12184a9bc13e06d35b6bb168f5f27ed3.tar.gz
gdb-68e0003e12184a9bc13e06d35b6bb168f5f27ed3.tar.bz2
libsframe: replace an strncat with strcat
Calling strncat with the size of the src string is not so meaningful. The length argument to strncat should specify the remaining bytes bytes in the destination; although in this case, it appears to be unncessary altogether to use strncat in the first place. libsframe/ * sframe-dump.c (dump_sframe_func_with_fres): Use of strcat is just as fine.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions