From: Oliver Kurth Date: Tue, 5 Jun 2018 22:45:06 +0000 (-0700) Subject: locks: Increase buffer size in MXUserHistoDump X-Git-Tag: stable-11.0.0~575 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5657cd53e41048264a831f8c0bcebcced8d21944;p=thirdparty%2Fopen-vm-tools.git locks: Increase buffer size in MXUserHistoDump It was noticed that the size of one of the char arrays in MXUserHistoDump is not large enough given the format string. This change bumps the size to accommodate (plus slack). --- diff --git a/open-vm-tools/lib/lock/ulStats.c b/open-vm-tools/lib/lock/ulStats.c index c8b6692c1..542a85aee 100644 --- a/open-vm-tools/lib/lock/ulStats.c +++ b/open-vm-tools/lib/lock/ulStats.c @@ -422,7 +422,7 @@ MXUserHistoDump(MXUserHisto *histo, // IN: for (i = 0; i < TOPOWNERS; i++) { if (histo->ownerArray[i].address != NULL) { uint32 len; - char binEntry[32]; + char binEntry[44]; /* Use a debugger to change the address to a symbol */ len = Str_Sprintf(binEntry, sizeof binEntry, " %p-%"FMT64"u\n",