]> granicus.if.org Git - cronie/commit
Fix unsafe code
authorMarcel Plch <mplch@redhat.com>
Tue, 28 Aug 2018 12:55:15 +0000 (14:55 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Wed, 29 Aug 2018 08:24:37 +0000 (10:24 +0200)
commit730b23d8a741342fad62363a9d54eae6d75adbd8
tree0b1728691755cf31332a1c6dbf15d02319151b40
parent9c14c421f9e984d1d09af636a02fa2f2f13952d5
Fix unsafe code

- drop usage of huge sparse array
- fix infinite loop in error case
- missing '\0' termination of mail command option
- missing check for fseek() failure
src/cronnext.c
src/do_command.c
src/env.c
src/globals.h
src/security.c
src/user.c