Bugzilla – Bug 152045
procmeter-3.4a-176: array subscript out of range
Last modified: 2006-02-24 10:58:21 UTC
I just tried to compile package procmeter-3.4a-176 with the Intel C compiler. It said module.c(327): warning #175: subscript out of range The source code is new->outputs[noutputs]->label[PROCMETER_NAME_LEN]=0; but linux:/usr/src/packages/SPECS # find ../BUILD/procmeter3-3.4a/ -name \*.h -print | xargs fgrep "label[" ../BUILD/procmeter3-3.4a/procmeterp.h: char label[PROCMETER_NAME_LEN];/*+ The label for the output. +*/ Suggest new code new->outputs[noutputs]->label[ PROCMETER_NAME_LEN - 1]=0;
fixed for beta5