File libotr-test-underrun.patch of Package libotr.23601
diff -urp libotr-4.1.1.orig/tests/regression/client/client.c libotr-4.1.1/tests/regression/client/client.c
--- libotr-4.1.1.orig/tests/regression/client/client.c 2015-12-25 11:39:45.000000000 -0600
+++ libotr-4.1.1/tests/regression/client/client.c 2018-05-15 10:21:41.509037880 -0500
@@ -497,7 +497,7 @@ static int send_otr_msg(int sock, const
}
if (!message) {
- size_t len = rand() % 600;
+ size_t len = rand() % 600 + 1;
char *msg = zmalloc(len);
if (!msg) {
perror("random msg");