* mdocml: Recursive "define" was not detected because "lim" was never
@ 2016-01-07 20:19 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-01-07 20:19 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-07 20:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 20:19 mdocml: Recursive "define" was not detected because "lim" was never schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).