This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit 235f00cdd15ef761f81ecc008426d3c5f6049cfc
Author: Boris Faure <[email protected]>
AuthorDate: Mon Aug 24 18:51:04 2026 +0200
tytest: clamp the read chunk with MIN()
---
src/bin/tytest_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/tytest_common.c b/src/bin/tytest_common.c
index 67cc7f3e..152036b9 100644
--- a/src/bin/tytest_common.c
+++ b/src/bin/tytest_common.c
@@ -570,7 +570,7 @@ tytest_common_main_loop(void)
char buf[4096];
int len, want;
- want = (_read_chunk < (int)sizeof(buf)) ? _read_chunk : (int)sizeof(buf);
+ want = MIN((int)sizeof(buf), _read_chunk);
do
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.