Bug 692597

Summary: Bad sizeof() usage in base/sdcparam.c
Product: Ghostscript Reporter: Tim Waugh <twaugh>
Component: GeneralAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: alex
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: 0004-Taking-sizeof-here-gives-the-size-of-the-pointer-not.patch

Description Tim Waugh 2011-10-14 16:06:00 UTC
Created attachment 8007 [details]
0004-Taking-sizeof-here-gives-the-size-of-the-pointer-not.patch

Taking sizeof() here gives the size of the pointer not the array; found using Coverity.
Comment 1 Alex Cherepanov 2011-10-30 02:04:06 UTC
The patch has been adopted and committed as a rev.
66567074a91d05a27f2439cbcc43e2d2301a776f

Thank you for your contribution to Ghostscript.