Description of problem: I just tried to compile iproute-2.6.11-1 from Redhat Fedora Core development tree with the Intel C compiler. The compiler said m_action.c(256): warning #175: subscript out of range m_action.c(258): warning #175: subscript out of range The source code is if (show_stats && tb[TCA_ACT_STATS]) { fprintf(f, "\tAction statistics:\n"); print_tcstats2_attr(f, tb[TCA_ACT_STATS], "\t", NULL); But struct rtattr *tb[TCA_ACT_MAX + 1]; and TCA_ACT_STATS has the value 8, and TCA_ACT_MAX has the value 4. Suggest code re-work. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Got response from upstream and this is sane. Closing as NOTABUG
>Got response from upstream and this is sane. I'd be grateful if you could show where either I or the Intel compiler has gone wrong.