Bugzilla – Bug 145806
OpenIPMI-1.4.19-7: 5 * array subscript out of range
Last modified: 2006-03-09 16:55:23 UTC
I just tried to compile package OpenIPMI-1.4.19-7 with the Intel C compiler. It said 1. ipmi.c(1113): warning #175: subscript out of range The source code is p->username[16] = '\0'; but char username[16]; 2. ipmi.c(1194): warning #175: subscript out of range The source code is p->username[16] = '\0'; 3. ipmi.c(1197): warning #175: subscript out of range The source code is p->password[16] = '\0'; 4. ipmi.c(1312): warning #175: subscript out of range ipmi.c(1313): warning #175: subscript out of range The source code is p->str_port[2] = ipmi_strdup(args[*curr_arg]); if (p->str_port[2] == NULL) {
Check out the current version, it has improved a lot.