]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
lib/misc: StrUtil_SafeStrcat length overflow checking
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:44 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:44 +0000 (11:23 -0700)
commitf68ecb12ebc92592463c0cdcd97f50bc5abb8ea2
tree3d7bafaa9e0acd24cf2d0da9939ad59f72597247
parentecdc55d43ab00c0a0454af1bc15a8b215f086c55
lib/misc: StrUtil_SafeStrcat length overflow checking

The check for overflow in StrUtil_SafeStrcat needs work.

Might as well avoid protential overflow while also checking for
"insane" string lengths.
open-vm-tools/lib/misc/strutil.c