diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-18 17:15:08 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-18 17:15:08 +0300 |
commit | 1b909c726bdb76b8e9847a37339ac023bd26e580 (patch) | |
tree | 810933a13ab401dd316539a4b3e8f541269a38e0 /extern | |
parent | a9da73ab95f07b7965df133edb6f32429ccb7302 (diff) |
Fix build warning
Value of the size argument in `strncat` is too large, might lead to a
buffer overflow.
Change the argument to be the free space in the destination buffer
minus the terminating null byte.
Introduced in 5368859a669d
Reviewed By: Sergey
Differential Revision: https://developer.blender.org/D11289
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions