diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-11-16 13:25:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-11-16 13:25:35 +0000 |
commit | 29ddff189eb5f07acf055b54da17db91acb021ae (patch) | |
tree | 79ecff245934165bc44712ea3ffb4ad822662460 /sbin/iked/ca.c | |
parent | 4f86f1aaa9552e3869177c2e5e63ca8a627b46cc (diff) |
Fix a crash triggered by .Bl -tag .It Xo .El .Sh found by florian@.
* When allocating a body end marker, copy the pointer to the normalized
block information from the body block, avoiding the risk of subsequent
null pointer derefence.
* When inserting the body end marker into the syntax tree, do not try to
copy that pointer from the parent block, because not being a direkt child
of the block it belongs to is the whole point of a body end marker.
* Even non-callable blocks (like Bd and Bl) can break other blocks;
when this happens, postpone closing them out in the usual way.
Diffstat (limited to 'sbin/iked/ca.c')
0 files changed, 0 insertions, 0 deletions