In results of static analyze of nginx sources I founded potential null dereference
|
t = localtime(&s); |
|
|
|
strftime(buf, 4, "%H", t); |
localtime() function potentially can return NULL value, which will dereference in strftime(). How about to add check for this case?