package/syslog-ng: fix runtime in 32-bit
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Sat, 21 Sep 2019 02:26:14 +0000 (23:26 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 21 Sep 2019 18:59:41 +0000 (20:59 +0200)
commitee6b98b1ea094dbe5b427373a170ef93c08099d5
tree911c50d00268980259e173769f845ea9db29e9ce
parent3b594ea69e07c6819d6c409d1af677b0409d9cd8
package/syslog-ng: fix runtime in 32-bit

When this line:
  unix-stream ("/dev/log");
is used as source in the .conf file and syslog-ng receives a message
(sent for test purposes using 'logger') the server throws the exception:
ERROR:lib/window-size-counter.c:76:window_size_counter_sub: assertion failed: (old_value >= value)

Even after replacing that config by:
  unix-dgram ("/dev/log");
when the server is stopped it throws the same exception.

Add one upstream patch to fix both issues.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/295369456

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Chris Packham <judge.packham@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/syslog-ng/0002-logsource-add-explicit-un-initialized-state-to-Windo.patch [new file with mode: 0644]