mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
tty: Use calloc() instead of malloc() to prevent uninitialized errors.
On some platforms GCC does not zero the heap. This can lead to serious problems, e.g., tty->pid may be non-zero while never having been started. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
c57bd066d1
commit
bcfcafdb7c
1 file changed
+1
-1