Blender Git Loki

Git Commits -> Revision 1b909c7

Revision 1b909c7 by Richard Antalik (master)
May 18, 2021, 14:15 (GMT)
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

Commit Details:

Full Hash: 1b909c726bdb76b8e9847a37339ac023bd26e580
Parent Commit: a9da73a
Lines Changed: +1, -1

1 Modified Path:

/source/blender/sequencer/intern/image_cache.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021