]> Kevux Git Server - fll/commit
Security: memory leaks in execute functions.
authorKevin Day <thekevinday@gmail.com>
Sat, 18 Jul 2020 05:08:58 +0000 (00:08 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 18 Jul 2020 22:13:30 +0000 (17:13 -0500)
commit8eb420263537cc8b9f2d0e340482f8f3de2414bf
treea676f8bd4ec3f0bd27188c28ecedd162b00f78bb
parent58aaa66917b43bd9166b8d66e40181be451a8380
Security: memory leaks in execute functions.

Use f_array_length, not f_string_length, for traversing an array.

The variable "i" is being used when it should be "j".

Add numerous missing deallocation calls.

Deallocate immediately instead of after a waitpid().

Avoid redeclaring the "i" variable.
level_2/fll_execute/c/execute.c