CVSROOT: /cvs Module name: src Changes by: mes...@cvs.openbsd.org 2018/08/20 00:24:50
Modified files: usr.sbin/ac : ac.c Log message: Since we can feed localtime(3) with garbage input, or with input it cannot interpret, we always need to check its return value, and in the case it's NULL then error and exit before proceeding further otherwise in this specific program we would find a null dereference down the road which would make the program segfault. OK cheloha@