Skip to content

Commit

Permalink
Fix: not sufficient buffer size in rmqamqpt_basicdeliver.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 authored and adamncasey committed Oct 26, 2023
1 parent 093aaa1 commit a3d847a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rmq/rmqamqpt/rmqamqpt_basicdeliver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ bool BasicDeliver::decode(BasicDeliver* deliver,
BALL_LOG_ERROR
<< "Not enough data to decode BasicDeliver frame: available "
<< buffer.available();
return false;
}
deliver->d_deliveryTag = buffer.copy<bdlb::BigEndianUint64>();
deliver->d_redelivered = buffer.copy<bool>();
Expand Down

0 comments on commit a3d847a

Please sign in to comment.