Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.14, 0.16
-
None
Description
Steps to Reproduce:
1. ./spout
'amq.direct/AReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectARea'
Actual results:
spout cycles with output:
2012-04-13 16:30:48 error Caught exception in state: 3 with event: 2: Could not
encode string of 256 bytes as uint8_t string. (qpid/framing/Buffer.cpp:255)
The problem is that any bounds checking on str8 fields is done only on encode, so application threads are not correctly notified.