diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-09 19:07:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-09 19:07:22 +0000 |
commit | 639fb7626d3306f86850a074d8b53cf57a307e19 (patch) | |
tree | 171ae1cfb5b70ebddb83c8d8c2a53de2d39ca446 /sbin/slattach | |
parent | f8fedce081a30f00310cc6ef4be38bdb063c046c (diff) |
cope with LOOP_THROUGH modifying the lis (queues).
in case of an error in the queue def in question the queues list remains
unmodified, but the LOOP_THROUGH caused a mod anyway, and the list can stay
empty. subsequent checks for NULL which check for a empty list fail then.
fix by adding an explicit check before looping.
fixes regress pfail31
error report by Kamil Andrusz via pb@, testcase from pb@
ok dhartmei@
Diffstat (limited to 'sbin/slattach')
0 files changed, 0 insertions, 0 deletions