Red Hat Bugzilla – Bug 110751
broken source code
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Description of problem:
I just tried to compile package ghostscript-7_07-11 from Fedora.
The compiler said
./src/sdcparam.c(161): remark #592: variable "quant_tables" is used
before its value is set
The source code is
/* more code */
num_in_tables = quant_tables.size;
Seems like a pretty obvious bug to me.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. by inspection
It's very far from clear what the fix is, and the comment immediately
above that line indicates that someone else found the problem and is
also not sure what to do. Since it's known upstream, I'm closing this.
>It's very far from clear what the fix is,
Fair enough - not all bugs are easy to fix.
>someone else found the problem and is also not sure what to do
fair enough - two people don't know how to fix it.
>Since it's known upstream, I'm closing this
I am unhappy with this. I think the bug needs fixing, independent
of whether two people don't know what the fix is.
Does it only get fixed if the fix is easy ?
It's not even clear that this is a code path that gets executed. If
it had been causing some outrageous symptom it might be worth spending
some time working on. Best worked on by those who know the code best,