Skip to content

ComQueue drops oldest buffers without returning ownership on overflow #5011

@thomas-bc

Description

@thomas-bc

Credit to @20210607

Summary

Svc::ComQueue in nasa/fprime leaks Fw::Buffer ownership when a buffer queue is configured with QUEUE_DROP_OLDEST. When the queue is full, the oldest queued buffer is discarded and replaced by the new one, but the dropped buffer is never returned through bufferReturnOut.

This creates a real resource-exhaustion path at the communication-buffer ownership boundary: repeated overflow permanently consumes finite buffer-pool entries until dependent communication or telemetry paths stall or fail from buffer starvation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions