HomeClusterLabs Projects

Fix: header == NULL when parsing compressed message

Description

Fix: header == NULL when parsing compressed message

When parsing a compressed message, message header is reloaded from the
uncompressed buffer. However, because remote->buffer_offset is zeroed
prior that, it'll consider the buffer already processed and return NULL.
Zeoring remote->buffer_offset after header retrieval should remedy this.

AFAICS, the decompression branch is not used so this perhaps is not an
issue in the real world.

Details

Provenance
Michal Koutný <mkoutny@suse.com>Authored on Jan 7 2016, 6:42 AM
Parents
rPda17fd0265ff: Fix: attrd: Correctly implement mass removal of a node's attributes
Branches
Unknown
Tags
Unknown

Event Timeline