mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07: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:
Reference in New Issue
Block a user