aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authormjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-01 10:03:05 +0000
committermjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-01 10:03:05 +0000
commitf2b9b7d74a3796335f5ab53d8b4d9170ccc99c1e (patch)
tree1eb940e9065e784635878cb7abd2a17f43c2e3e2 /shell
parentc44720e82e172053176597838d0e6c56ab9961c8 (diff)
downloadbusybox-w32-f2b9b7d74a3796335f5ab53d8b4d9170ccc99c1e.tar.gz
busybox-w32-f2b9b7d74a3796335f5ab53d8b4d9170ccc99c1e.tar.bz2
busybox-w32-f2b9b7d74a3796335f5ab53d8b4d9170ccc99c1e.zip
Rewrite parse_config_file(). Among the old version's problems:
No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-( git-svn-id: svn://busybox.net/trunk/busybox@8390 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions