The following commit has been merged in the master branch:
commit 4898be6278f6ff4e214dfe993c0aa31262b9036f
Author: Pat Riehecky <[email protected]>
Date:   Tue Jun 12 13:33:31 2018 -0500

    localtime can return NULL if unable to read system clock
    
    This adds checks for some invocations of localtime() to avoid possible
    NULL dereference. (via facebook-infer)
    
    Change-Id: I2b779d8f60c032563eb4ee3cebe20b14afbb0fa3
    Reviewed-on: https://gerrit.openafs.org/13206
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/ptserver/display.c |    4 ++++
 src/util/ktime.c       |    7 +++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to