Comment 4 for bug 537854

Revision history for this message
rikster (lpad.nomad) wrote :

During compilation of the package gcc pointed out a location where the Brother drivers use an index which exceeds the array size. This problem could also cause a buffer overflow error, although it is separate from the problem previously reported. Nevertheless, it should probably be fixed at the same time when the patch above is applied.

Attached is a patch which corrects the coders misunderstanding about C arrays -- size runs from 1-MAXSIZE but array indexing runs from 0-MAXSIZE-1.