]> Kevux Git Server - fll/commit
Security: Segfault when "load_build yes" and "build settings".
authorKevin Day <thekevinday@gmail.com>
Sun, 19 Dec 2021 05:49:40 +0000 (23:49 -0600)
committerKevin Day <thekevinday@gmail.com>
Sun, 19 Dec 2021 05:49:40 +0000 (23:49 -0600)
commit634e4402b887d5abc8b6928909dafbf1dab4c42a
tree808eff8cbb651bbbbcd4207f007c94faf70defee
parent1cb7e7042dfe15132e23aea0eff164233b6bb74e
Security: Segfault when "load_build yes" and "build settings".

When the fakefile settings is setup to have "load_build yes" and the fakefile operations has a build operation like "build settings" a segfault occurs.

This appears to be the result of casting the main path_sources to a constant pointer type from a reference.

Perform some minor cleanups.
level_3/fake/c/private-build-load.c
level_3/fake/c/private-build.c
level_3/fake/c/private-common.h