Package: syslog-ng / 3.28.1-2+deb11u1

Metadata

Package Version Patches format
syslog-ng 3.28.1-2+deb11u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 syslogformat reorder functions.patch | (download)

modules/syslogformat/syslog-format.c | 16 8 + 8 - 0 !
1 file changed, 8 insertions(+), 8 deletions(-)

 syslogformat: reorder functions

Signed-off-by: Kokan <kokaipeter@gmail.com>
0002 syslogformat utilize sd_step.patch | (download)

modules/syslogformat/syslog-format.c | 54 18 + 36 - 0 !
1 file changed, 18 insertions(+), 36 deletions(-)

 syslogformat: utilize sd_step

Signed-off-by: Kokan <kokaipeter@gmail.com>
0003 syslogformat sd_step skip if no char left.patch | (download)

modules/syslogformat/syslog-format.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 syslogformat: sd_step skip if no char left

Fixes #3328 and hopefully a few similuar not discovered crashes like that.

Signed-off-by: Kokan <kokaipeter@gmail.com>
Bug: https://github.com/syslog-ng/syslog-ng/issues/3328
0004 syslogformat sd_step _process_any_char.patch | (download)

modules/syslogformat/syslog-format.c | 60 30 + 30 - 0 !
1 file changed, 30 insertions(+), 30 deletions(-)

 syslogformat: sd_step -> _process_any_char

Signed-off-by: Kokan <kokaipeter@gmail.com>
0005 syslogformat skip cisco sequence id parsing.patch | (download)

modules/syslogformat/syslog-format.c | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 syslogformat: skip cisco sequence id parsing

If the parsing of cisco sequence id is failing, re-submit the string part it
tried and skip setting sequence id.

Signed-off-by: Kokan <kokaipeter@gmail.com>
0006 syslogformat fix out of bounds reading of data buffe.patch | (download)

modules/syslogformat/syslog-format.c | 10 7 + 3 - 0 !
1 file changed, 7 insertions(+), 3 deletions(-)

 syslogformat: fix out-of-bounds reading of data buffer

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>
0007 syslogformat fix reading cisco sequence id out of bo.patch | (download)

modules/syslogformat/syslog-format.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 syslogformat: fix reading cisco sequence id out of bounds

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>
0008 timeutils fix iterating out of the range of timestam.patch | (download)

lib/timeutils/scan-timestamp.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 timeutils: fix iterating out of the range of timestamp buffer

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
0009 timeutils add tests for non zero terminated inputs.patch | (download)

lib/timeutils/tests/test_scan-timestamp.c | 126 113 + 13 - 0 !
1 file changed, 113 insertions(+), 13 deletions(-)

 timeutils: add tests for non-zero terminated inputs

Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
0010 timeutils name repeating constant.patch | (download)

lib/timeutils/scan-timestamp.c | 54 29 + 25 - 0 !
1 file changed, 29 insertions(+), 25 deletions(-)

 timeutils: name repeating constant

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>
0011 timeutils fix invalid calculation of ISO timestamp l.patch | (download)

lib/timeutils/scan-timestamp.c | 8 6 + 2 - 0 !
lib/timeutils/tests/test_scan-timestamp.c | 7 7 + 0 - 0 !
2 files changed, 13 insertions(+), 2 deletions(-)

 timeutils: fix invalid calculation of iso timestamp length

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>
0012 timeutils fix out of bounds reading of data buffer.patch | (download)

lib/timeutils/scan-timestamp.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 timeutils: fix out-of-bounds reading of data buffer

Signed-off-by: Lszl Vrady <laszlo.varady@protonmail.com>