strlen+malloc+snprintf is error prone;
authorschwarze <schwarze@openbsd.org>
Sun, 20 Apr 2014 20:48:34 +0000 (20:48 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 20 Apr 2014 20:48:34 +0000 (20:48 +0000)
commit77e000ffab217134f9601fb8bcdc81ff8f39df50
tree147b16bccc186cc6e8a968b59e5a71ccffda870b
parent4d5489fd5650144d6962ee3715be5e268f83a86f
strlen+malloc+snprintf is error prone;
rewrite post_lb() to use asprintf(3) instead
usr.bin/mandoc/mdoc_validate.c