HomeClusterLabs Projects
Diffusion LibQB 9a3ef70d2934

Fix rb.test to avoid overwriting memory during reading.

Description

Fix rb.test to avoid overwriting memory during reading.

In test_ring_buffer1,
if the size of the chunk(90-93) is larger than size of the hdr (16),
it comes to overwriting memory during reading.

Details

Provenance
Dejan Latinovic <Dejan.Latinovic@rt-rk.com>Authored on Dec 24 2013, 9:10 AM
Parents
rQb09473fd4a03: Merge pull request #100 from davidvossel/server_side_buf_limit
Branches
Unknown
Tags
Unknown

Event Timeline