From 65499123b313ec83aad4ec6b4f02c90076d4dc77 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (office)" <j.wuttke@fz-juelich.de>
Date: Wed, 28 Oct 2009 13:52:37 +0100
Subject: [PATCH] c (tmp)

---
 pub/src/edif.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pub/src/edif.cpp b/pub/src/edif.cpp
index 5ebaf68b..16a84753 100644
--- a/pub/src/edif.cpp
+++ b/pub/src/edif.cpp
@@ -75,7 +75,7 @@ void NEdif::Dir(void)
                      e->P()->xco.str().substr(0,12).c_str(),
                      e->P()->yco.str().substr(0,12).c_str() );
         } else if ( c ) {
-            sprintf( xytext, "%-32s", c->expr.c_str() );
+            snprintf( xytext, 33, "%-32s", c->expr.c_str() );
         }
         // print everything
         printf( "%3d%1s%-16s %5d %-16s %-32s\n",
-- 
GitLab