From b89614766b083c83f6a84126a02c88311129e12d Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 14 Mar 2005 17:35:52 +0000 Subject: 2005-03-14 Paul Jakma * command.c: (sort_node) use vector_max instead of referencing (struct vector *)->max directly. Test that vector_max is > 0 before using it to calculate an index. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_cmdsize) Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_filter_by_completion) ditto (cmd_filter_by_string) ditto (is_cmd_ambiguous) ditto (cmd_describe_command_real) Change index integers to unsigned. Test that vector_max is > 0 before using it to calculate an index. Return immediately with CMD_ERR_NO_MATCH if vline has no active slots. Fixup vector loop to make main body conditional on vector slot not being empty. (cmd_complete_command_real) ditto. (cmd_execute_command_strict) Fixup vector loop to be conditional on non-null slot. --- lib/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index b14f1837..3d509403 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,25 @@ +2005-03-14 Paul Jakma + + * command.c: (sort_node) use vector_max instead of referencing + (struct vector *)->max directly. Test that vector_max is > 0 + before using it to calculate an index. + Fixup vector loop to make main body conditional on vector slot + not being empty. + (cmd_cmdsize) Fixup vector loop to make main body conditional on + vector slot not being empty. + (cmd_filter_by_completion) ditto + (cmd_filter_by_string) ditto + (is_cmd_ambiguous) ditto + (cmd_describe_command_real) Change index integers to unsigned. + Test that vector_max is > 0 before using it to calculate an index. + Return immediately with CMD_ERR_NO_MATCH if vline has no + active slots. + Fixup vector loop to make main body conditional on vector slot + not being empty. + (cmd_complete_command_real) ditto. + (cmd_execute_command_strict) Fixup vector loop to be conditional + on non-null slot. + 2005-03-09 Paul Jakma * command.c: Undo commit of sign warning fix and hidden command -- cgit v1.2.1