Bugzilla – Bug 145804
openct-0.6.6-2:2 * array subscript out of range
Last modified: 2006-02-06 20:23:05 UTC
I just tried to compile package openct-0.6.6-2 with the Intel C compiler. It said 1. ifd-pertosmart1030.c(800): warning #175: subscript out of range The source code is ct_debug("ps_receive_from_ifd: protocol_bytes[PS_RESPONSE_LENGTH2_IDX]: %i", protocol_bytes[PS_RESPONSE_LENGTH2_IDX]); but unsigned char protocol_bytes[5]; and #define PS_RESPONSE_LENGTH2_IDX 5 Suggest make local array one bigger. 2. ifd-pertosmart1030.c(803): warning #175: subscript out of range The source code is data_length |= protocol_bytes[PS_RESPONSE_LENGTH2_IDX]; Duplicate.
fixed