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.
The patch has been adopted and committed as a rev. 66567074a91d05a27f2439cbcc43e2d2301a776f Thank you for your contribution to Ghostscript.