Creating Reservations Uses Memory after Free

Description

Found while running SmokeTest with AddressSanitizer.

In req_rescq.c::req_confirmresv, after logging the event, the server replies to the client saying their reservation is confirmed. In doing so, it calls reply_ack, which frees the batch_request. After replying, the server accesses the batch_request to write to the accounting log.

This was introduced in the fix of

Acceptance Criteria

None

Status

Assignee

Vincent Stumpf

Reporter

Vincent Stumpf

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Fix versions

Affects versions

18.1.0

Priority

Low
Configure