Home
last modified time | relevance | path

Searched hist:"59 ba78ccae74a8a116e4784b4edb840dae61610d" (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libfigpar/
H A Dstring_m.cdiff 59ba78ccae74a8a116e4784b4edb840dae61610d Sat Jan 26 23:24:15 CET 2019 Stefan Eßer <se@FreeBSD.org> Slightly improve previous commit that silenced a Clang Scan warning.

The strdup() call does not take advantage of the known length of the
source string. Replace by malloc() and memcpy() utilizimng the pre-
calculated string length.

Submitted by: cperciva
Reported by: rgrimes
MFC after: 2 weeks