]> Kevux Git Server - fll/commit
Security: Add additional sanity checks before freeing in memory array and fix structu...
authorKevin Day <thekevinday@gmail.com>
Wed, 30 Aug 2023 00:11:27 +0000 (19:11 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 30 Aug 2023 00:11:27 +0000 (19:11 -0500)
commit3dee02180d1ab33471e57b17c1485532fee1c597
tree2ec9bcdbfa94c5ac6e8344558e631a18c8f3b9ea
parent64c191ff1b591de903c76f75a934996a3518df0d
Security: Add additional sanity checks before freeing in memory array and fix structure problem in dynamicss callback.

Add additional checks to ensure a free() does not get called on a NULL pointer.

The dynamics delete and destroy callbacks in particular have the f_memory_array_resize() inside the loop rather than outside the loop.
61 files changed:
level_0/f_account/c/account/accounts.c
level_0/f_directory/c/directory/listing.c
level_0/f_directory/c/directory/recurse_do.c
level_0/f_directory/c/directory/status.c
level_0/f_fss/c/fss/item.c
level_0/f_fss/c/fss/named.c
level_0/f_fss/c/fss/nest.c
level_0/f_fss/c/fss/set.c
level_0/f_fss/c/fss/set_quote.c
level_0/f_fss/c/fss/simple_packet.c
level_0/f_fss/c/fss/simple_packet.h
level_0/f_iki/c/iki/data.c
level_0/f_limit/c/limit/set.c
level_0/f_limit/c/limit/value.c
level_0/f_socket/c/socket/address.c
level_0/f_socket/c/socket/socket.c
level_0/f_string/c/string/dynamics.c
level_0/f_string/c/string/dynamicss.c
level_0/f_string/c/string/map_multis.c
level_0/f_string/c/string/map_multiss.c
level_0/f_string/c/string/maps.c
level_0/f_string/c/string/mapss.c
level_0/f_string/c/string/quantityss.c
level_0/f_string/c/string/rangess.c
level_0/f_string/c/string/triples.c
level_0/f_string/c/string/tripless.c
level_0/f_thread/c/thread/attribute.c
level_0/f_thread/c/thread/barrier.c
level_0/f_thread/c/thread/barrier_attribute.c
level_0/f_thread/c/thread/condition.c
level_0/f_thread/c/thread/condition_attribute.c
level_0/f_thread/c/thread/key.c
level_0/f_thread/c/thread/lock.c
level_0/f_thread/c/thread/lock_attribute.c
level_0/f_thread/c/thread/mutex.c
level_0/f_thread/c/thread/mutex_attribute.c
level_0/f_thread/c/thread/semaphore.c
level_0/f_thread/c/thread/set.c
level_0/f_thread/c/thread/spin.c
level_0/f_type_array/c/type_array/cell.c
level_0/f_type_array/c/type_array/file.c
level_0/f_type_array/c/type_array/fll_id.c
level_0/f_type_array/c/type_array/int128.c
level_0/f_type_array/c/type_array/int16.c
level_0/f_type_array/c/type_array/int32.c
level_0/f_type_array/c/type_array/int8.c
level_0/f_type_array/c/type_array/number_unsigned.c
level_0/f_type_array/c/type_array/poll.c
level_0/f_type_array/c/type_array/state.c
level_0/f_type_array/c/type_array/status.c
level_0/f_type_array/c/type_array/uint16.c
level_0/f_type_array/c/type_array/uint32.c
level_0/f_type_array/c/type_array/uint64.c
level_0/f_utf/c/utf/dynamics.c
level_0/f_utf/c/utf/dynamicss.c
level_0/f_utf/c/utf/map_multis.c
level_0/f_utf/c/utf/map_multiss.c
level_0/f_utf/c/utf/maps.c
level_0/f_utf/c/utf/mapss.c
level_0/f_utf/c/utf/triples.c
level_0/f_utf/c/utf/tripless.c