From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id c49f137d for ; Thu, 7 Jan 2016 15:19:32 -0500 (EST) Date: Thu, 7 Jan 2016 15:19:32 -0500 (EST) Message-Id: <4350592939265721638.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Recursive "define" was not detected because "lim" was never X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Recursive "define" was not detected because "lim" was never incremented, causing infinite loops. Fixing CID 1288962. From christos@ via wiz@, both at NetBSD. Modified Files: -------------- mdocml: eqn.c Revision Data ------------- Index: eqn.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/eqn.c,v retrieving revision 1.59 retrieving revision 1.60 diff -Leqn.c -Leqn.c -u -p -r1.59 -r1.60 --- eqn.c +++ eqn.c @@ -448,6 +448,7 @@ again: memmove(start + *sz + diff, start + *sz, (strlen(start) - *sz) + 1); memcpy(start, def->val, def->valsz); + lim++; goto again; } -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv