Systemd/src/journal-remote
Klearchos Chaloulos 9ba37525d0 journal-remote : Ensure reallocation of source->buf does not result in source->size < source->filled (#3086)
While the function journal-remote-parse.c:get_line() enforces an assertion that source->filled <= source->size, in function journal-remote-parse.c:process_source() there is a chance that source->size will be decreased to a lower value than source->filled, when source->buf is reallocated. Therefore a check is added that ensures that source->buf is reallocated only when source->filled is smaller than target / 2.
2016-04-22 14:04:17 -04:00
..
.gitignore journal-upload: add config file 2014-07-15 22:34:41 -04:00
browse.html tree-wide: minor formatting inconsistency cleanups 2016-02-23 14:20:34 -08:00
journal-gatewayd.c coredump,basic: generalize O_TMPFILE handling a bit 2016-04-22 16:16:53 +02:00
journal-remote-parse.c journal-remote : Ensure reallocation of source->buf does not result in source->size < source->filled (#3086) 2016-04-22 14:04:17 -04:00
journal-remote-parse.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
journal-remote-write.c journal: defer journal closes on rotate 2016-02-19 18:50:20 -08:00
journal-remote-write.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
journal-remote.c tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
journal-remote.conf.in Add Seal option in the configuration file for journald-remote 2015-12-20 13:23:33 +01:00
journal-remote.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
journal-upload-journal.c journal-upload: make watchdog state non-static 2016-04-05 20:28:56 -04:00
journal-upload.c journal-upload: make watchdog state non-static 2016-04-05 20:28:56 -04:00
journal-upload.conf.in journal-upload: add config file 2014-07-15 22:34:41 -04:00
journal-upload.h journal-upload: make watchdog state non-static 2016-04-05 20:28:56 -04:00
log-generator.py log-generator: add option to generate easily compressible data 2015-11-03 00:23:16 +01:00
Makefile Move network-related journal programs to src/journal-remote/ 2014-07-15 22:23:47 -04:00
microhttpd-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
microhttpd-util.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00