Module Name:    src
Committed By:   christos
Date:           Thu Jan  7 19:32:44 UTC 2016

Modified Files:
        src/external/bsd/mdocml/dist: eqn.c

Log Message:
CID 1288962: lim was never incremented thus self-definition loop detection
was not functional.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/mdocml/dist/eqn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/mdocml/dist/eqn.c
diff -u src/external/bsd/mdocml/dist/eqn.c:1.1.1.4 src/external/bsd/mdocml/dist/eqn.c:1.2
--- src/external/bsd/mdocml/dist/eqn.c:1.1.1.4	Thu Dec 17 16:58:48 2015
+++ src/external/bsd/mdocml/dist/eqn.c	Thu Jan  7 14:32:43 2016
@@ -1,4 +1,4 @@
-/*	$Id: eqn.c,v 1.1.1.4 2015/12/17 21:58:48 christos Exp $ */
+/*	$Id: eqn.c,v 1.2 2016/01/07 19:32:43 christos Exp $ */
 /*
  * Copyright (c) 2011, 2014 Kristaps Dzonsons <[email protected]>
  * Copyright (c) 2014, 2015 Ingo Schwarze <[email protected]>
@@ -448,6 +448,7 @@ again:
 		memmove(start + *sz + diff, start + *sz,
 		    (strlen(start) - *sz) + 1);
 		memcpy(start, def->val, def->valsz);
+		lim++;
 		goto again;
 	}
 

Reply via email to