Skip to content

CaloCondBlobBase coverity: ctime_r buf shall be at least 26 bytes in size

https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime_r.html

The ctime_r() function shall convert the calendar time pointed to by clock to local time in exactly the same form as ctime() and put the string into the array pointed to by buf (which shall be at least 26 bytes in size) and return buf.

coverity complained for out-of-bound-access when size was 23

Merge request reports