]> granicus.if.org Git - strace/commit
Robustify mpers.awk against input containing index loops
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 15 Dec 2015 03:35:26 +0000 (03:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 15 Dec 2015 03:35:26 +0000 (03:35 +0000)
commit54d18a279a01b4643bad4c98e13f365d7dc2cc75
treec315430a37e5df973b37024ef213f2f86389a56c
parent59992183a6e3ae69669f7fb3b6c7bf45c66f02d1
Robustify mpers.awk against input containing index loops

Make mpers.awk check for potential index loops.  Such loops should not
normally happen, but mpers.awk will not go into infinite recursion if
they do.

* mpers.awk (enter, leave): New functions.
(what_is): Use them.
mpers.awk