- fix segfault in nameif with mactab file
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 17 Jul 2008 11:59:13 +0000 (11:59 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 17 Jul 2008 11:59:13 +0000 (11:59 -0000)
commit679212836a881b53382ea6bd811f38e00705d50d
treee5c349683a57c55b650eae77b1ca5ac40c94a175
parent0f683f818cf087d580ba2edf7c096897bc28b95a
- fix segfault in nameif with mactab file
  (by fixing and shrink config parser)

function                                             old     new   delta
config_free_data                                       -      37     +37
config_open                                           43      48      +5
pack_gzip                                           1658    1660      +2
nameif_main                                          527     525      -2
SynchronizeFile                                      629     623      -6
make_device                                         1184    1176      -8
config_close                                          31      18     -13
config_read                                          431     393     -38
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/5 up/down: 44/-67)            Total: -23 bytes
include/libbb.h
libbb/parse_config.c
miscutils/crond.c
networking/nameif.c
util-linux/mdev.c