Skip to content

Conversation

lbudai
Copy link
Collaborator

@lbudai lbudai commented Jul 22, 2014

AckTracker is a parent "class" for LateAckTracker which contains a RingBuffer.
RingBuffer has a pointer member which points to the memory where the AckRecord
slots (containing Bookmark) are stored.
When the AckTracker is unaligned then the RingBuffer within LateAckTracker
will also be unaligned and that can lead to SIGBUS on Sparc and IA64 platforms.

Signed-off-by: Budai Laszlo Laszlo.Budai@balabit.com

AckTracker is a parent "class" for LateAckTracker which contains a RingBuffer.
RingBuffer has a pointer member which points to the memory where the AckRecord
slots (containing Bookmark) are stored.
When the AckTracker is unaligned then the RingBuffer within LateAckTracker
will also be unaligned and that can lead to SIGBUS on Sparc and IA64 platforms.

Signed-off-by: Budai Laszlo <Laszlo.Budai@balabit.com>
algernon added a commit that referenced this pull request Jul 22, 2014
ack_tracker: keep AckTracker parent class 64 bit aligned
@algernon algernon merged commit 11805bc into syslog-ng:3.6/master Jul 22, 2014
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Jul 18, 2024
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
kovgeri01 pushed a commit to kovgeri01/syslog-ng that referenced this pull request Aug 13, 2024
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
kovgeri01 pushed a commit to kovgeri01/syslog-ng that referenced this pull request Aug 13, 2024
…-segfault-fix

rate-limit: parse error segfault fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants