tags 304657 + patch
thanks

Correct version of patch attached.

-- 
Eugeniy Meshcheryakov

Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua
diff -ruN newt-0.51.6-old/entry.c newt-0.51.6/entry.c
--- newt-0.51.6-old/entry.c     2005-04-14 23:34:45.753813000 +0300
+++ newt-0.51.6/entry.c 2005-04-14 23:52:07.151314236 +0300
@@ -369,7 +369,7 @@
                  *(chptr - delta) = *chptr;
                  chptr++;
               }
-              *(chptr - delta) = '\0';
+              memset(chptr - delta, 0, delta);
               en->bufUsed-=delta;
            }
        }
@@ -387,7 +387,7 @@
                *(chptr - delta) = *chptr;
                chptr++;
            }
-           *(chptr - delta) = '\0';
+           memset(chptr - delta, 0, delta);
        }
        }
        break;

Attachment: signature.asc
Description: Digital signature

Reply via email to