Patch needed because of hardening options.

diff -aur libsmi-0.4.8+dfsg2.orig/tools/dump-tree.c libsmi-0.4.8+dfsg2/tools/dump-tree.c
--- libsmi-0.4.8+dfsg2.orig/tools/dump-tree.c	2009-11-15 12:20:25.000000000 +0100
+++ libsmi-0.4.8+dfsg2/tools/dump-tree.c	2012-01-05 22:56:21.000000000 +0100
@@ -117,7 +117,7 @@
 	 smiElement; smiElement = smiGetNextElement(smiElement), i++) {
 	if (i > 0) fprintf(f, ",");
 	if (indexname) {
-	    fprintf(f, indexname);
+	    fprintf(f, "%s", indexname);
 	}
 	indexname = smiGetElementNode(smiElement)->name;
     }
@@ -143,7 +143,7 @@
 	 smiElement = smiGetNextElement(smiElement), i++) {
 	if (i > 0) fprintf(f, ",");
 	if (objectname) {
-	    fprintf(f, objectname);
+	    fprintf(f, "%s", objectname);
 	}
 	objectname = smiGetElementNode(smiElement)->name;
     }
Nur in libsmi-0.4.8+dfsg2/tools: dump-tree.c~.
