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)
commite2b2c85bd41dc1c676c457ea71654d1a914de71b
treeb8e9aa2e50297fe1ae72b68348f4c8f6cce945bc
parentd156a64edf293b49f6cb40119c062c426e37e106
swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)

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