swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 12 Feb 2012 19:27:01 +0000 (19:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 12 Feb 2012 19:27:01 +0000 (19:27 +0000)
commitbc63786fbbe9c5ae2dd0d22f01707f0c9ef75422
tree5723f8d1583c30150e757353f333ddb5797a7f98
parent9f551028d2568f774e4738ee584d438adf327615
swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)

SVN-Revision: 30485
package/swconfig/src/swlib.c