26 Sep
2013
26 Sep
'13
6:16 p.m.
Aric Stewart <aric(a)codeweavers.com> writes:
@@ -1684,7 +1684,7 @@ UINT WINAPI ImmGetDescriptionA(
HeapFree( GetProcessHeap(), 0, buf );
- return len; + return min( len - 1, uBufLen ); }
This may do the right thing on failure, but in an ugly way. A few overflow tests would be a good idea. -- Alexandre Julliard julliard(a)winehq.org