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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2019 21:10:12 +0000 (16:10 -0500)
commit640a46fd3c8ebe3c14eb73f47ae6bbe22b19556f
tree6753af3aba6b14745fdcf8798d9e0861930cf97f
parenteaecdbb27a8613291f9d366ef68e52d9f020e488
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.025448 seconds and 4 git commands to generate.