Module Name: src Committed By: martin Date: Tue Oct 3 10:10:42 UTC 2023
Modified Files: src/libexec/ftpd [netbsd-8]: conf.c Log Message: Pull up following revision(s) (requested by lukem in ticket #1905): libexec/ftpd/conf.c: revision 1.65 Fix uninitialized memory usage in count_users() If the file was previously empty, pids table is not set, the code however used pids[0] which is uninitialized in this case. In some scenarios it may lead to propagate garbage value from pids[0] to the file and cause writing outside of allocated memory. OK lukem@ To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.64.22.1 src/libexec/ftpd/conf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.