$OpenBSD: patch-output_c,v 1.1 2005/05/15 18:09:41 db Exp $ --- output.c.orig Thu May 12 13:04:27 2005 +++ output.c Thu May 12 13:04:57 2005 @@ -218,7 +218,7 @@ op_begin_std_fontsize (OutputPersonality if (!found_std_expr) { if (op->fontsize_begin) { char expr[16]; - sprintf (expr, "%d", size); + snprintf (expr, sizeof(expr), "%d", size); printf (op->fontsize_begin, expr); } else { /* If we cannot write out a change for the exact @@ -347,7 +347,7 @@ op_end_std_fontsize (OutputPersonality * if (!found_std_expr) { if (op->fontsize_end) { char expr[16]; - sprintf (expr, "%d", size); + snprintf (expr, sizeof(expr), "%d", size); printf (op->fontsize_end, expr); } else { /* If we cannot write out a change for the exact