PoolMonXv2 icon indicating copy to clipboard operation
PoolMonXv2 copied to clipboard

StringCchPrintf overflow under 32bit build.

Open andylinpersonal opened this issue 6 years ago • 1 comments

https://github.com/zodiacon/PoolMonXv2/blob/d76dcc119fe8d1afb9d75cd167eac39d96b0a7e0/PoolMonX/View.cpp#L334-L336 https://github.com/zodiacon/PoolMonXv2/blob/d76dcc119fe8d1afb9d75cd167eac39d96b0a7e0/PoolMonX/View.cpp#L357-L359

Format string of 'SIZE_T value' should be "%zu" instead of "%lld%.

andylinpersonal avatar Sep 24 '19 04:09 andylinpersonal

probably right... I only compiled for x64. I accept PRs!

zodiacon avatar Sep 24 '19 05:09 zodiacon