]> git.ipfire.org Git - thirdparty/make.git/commit
Resolve issues discovered by static code analysis.
authorPaul Smith <psmith@gnu.org>
Sun, 25 Sep 2016 23:06:56 +0000 (19:06 -0400)
committerPaul Smith <psmith@gnu.org>
Wed, 14 Dec 2016 22:56:24 +0000 (17:56 -0500)
commitbc9d72beb0cb00e73afff1fa386a0ea9e2e32280
tree87cd6a405b7fac45be92d027f3e1d650def33c4d
parentd3bba301cee84c6e2b150649411a0d649056a75f
Resolve issues discovered by static code analysis.

* maintMakefile: Add a rule to submit code for analysis.
* configure.ac: Check for availability of the umask() function.
* output.c (output_tmpfd, output_tmpfile): Use umask on temp files.
* makeint.h (PATH_VAR): Reserve an extra character for nul bytes.
* function.c (func_error): Initialize buffer to empty string.
* job.c (child_execute_job): Verify validity of fdin.
* main.c (main): Simplify code for makefile updating algorithm.
* arscan.c (ar_scan): Verify member name length before reading.
* read.c (readline): Cast pointer arithmetic to avoid warnings.
* remake.c (update_file): Remove unreachable code.
(name_mtime): Verify symlink name length.
arscan.c
configure.ac
function.c
job.c
main.c
maintMakefile
makeint.h
output.c
read.c
remake.c