Fix miscalculated buffer size and uses of size-unlimited sprintf()
authorAleksander Adamowski <olo@fb.com>
Mon, 11 Jan 2016 23:26:41 +0000 (15:26 -0800)
committerAleksander Adamowski <olo@fb.com>
Mon, 11 Jan 2016 23:26:41 +0000 (15:26 -0800)
commit13f5402c6b734ed4c2b3e8b7c3d3bf6d815e7661
tree06b8adcf6e38d7eb7f05f1b5f556f05c1a26a73b
parenta41a7181c9af8f9ac93a85a2cf133294dd202c8e
Fix miscalculated buffer size and uses of size-unlimited sprintf()
function.

Not sure if this results in an exploitable buffer overflow, probably not
since the the int value is likely sanitized somewhere earlier and it's
being put through a bit mask shortly before being used.
src/journal/journald-syslog.c