$OpenBSD: patch-src_mime_c,v 1.2 2004/01/18 10:49:52 wilfried Exp $
--- src/mime.c.orig	2002-12-01 17:44:50.000000000 +0100
+++ src/mime.c	2003-12-12 16:54:12.000000000 +0100
@@ -202,7 +202,7 @@ void mime_db_save (void)
 
 		/* fill out fields */
 		xmlSetProp (mime_node, "name", aMimeItem->name);
-		snprintf (buffer, 5, "%d", aMimeItem->action);
+		snprintf (buffer, 3, "%d", aMimeItem->action);
 		xmlSetProp (mime_node, "action", buffer);
 		xmlSetProp (mime_node, "helper", aMimeItem->helperApp);
 		snprintf (buffer, 3, "%d", aMimeItem->terminalHelper);
