ctf: assert that request_sz in medium ops request_bytes is greater than 0
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Nov 2019 22:21:47 +0000 (17:21 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Nov 2019 18:08:12 +0000 (13:08 -0500)
commitc9694de4371410ff7be261f7e9a42a44afcaea32
tree5cfb359dfa1c179e5712c52ee5ae7fede80f28ca
parent026f1a5ae0fde993dc87497aa1ac06c112734247
ctf: assert that request_sz in medium ops request_bytes is greater than 0

There's a check in medop_request_bytes to return OK if the passed
request_sz is 0.  I don't think that can ever happen, since that
request_sz comes from the max_request_sz parameter when the iterator is
created.  It wouldn't make sense to pass 0.

Change-Id: Ia2c8fb6e56195bcab607c39e366c6b58b3411f8b
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/common/msg-iter/msg-iter.c
src/plugins/ctf/fs-src/data-stream-file.c
src/plugins/ctf/lttng-live/data-stream.c
This page took 0.029416 seconds and 4 git commands to generate.