Logger: fix sanitizer
Compare changes
+ 3
− 0
@@ -154,6 +154,9 @@ void header_read(struct header *h, struct logger_logfile *log) {
In the alignment space, we were dumping non allocated data. Not important but fails with the sanitizer.
I am also adding a check after an allocation