Re: cabinet: Fix overrun of static array (Coverity)
25 Jan
2007
25 Jan
'07
11:03 a.m.
Andrew Talbot <Andrew.Talbot(a)talbotville.com> writes:
This patch is aimed at fixing Coverity CID-297. The existing code writes 52 values to a 51-value array. The patch code only writes the first 51.
Please let me know what is wrong with this patch.
It may well be correct, but I think both the old and the new code are very confusing. Initializing this from a static constant would be a lot cleaner. -- Alexandre Julliard julliard(a)winehq.org
6899
Age (days ago)
6899
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard