Commits (2)
-
Jeffrey Lee authored
Detail: c/listfiles - If the first call to enumerate the contents of a directory fails (e.g. when trying to step into a bad image file), next_entry_to_return will be left at a value >= entries_in_buffer. This doesn't impact the operation of the state machine, but it will cause a null/bad pointer dereference in the user interface code when switch_buttons() calls read_next_node_parameters() and the code attempts to construct the path name of the current object. Fix the issue by terminating the path if an invalid cache entry index is found. Admin: Tested on Iyonix with zero page relocation Version 0.61. Tagged as 'FilerAct-0_61'
56e15078 -
Robert Sprowson authored
If an error occurs during an operation (for example, during a copy move where the source is on a read only medium) the status window changes to an error window with "Abort/Skip/Retry". The skip and retry options call read_next_node_parameters() to peek the next queued item, but would attempt to OS_File 5 of a NULL filename if the error happens when there are no more. Check the next_nodename isn't NULL to avoid an abort in OS_GSInit with zero page protection enabled. Version 0.62. Tagged as 'FilerAct-0_62'
62fdf168
Showing