Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2005 14:45:06 +0930
From:      Phil Kernick <Phil@Kernick.org>
To:        ports@freebsd.org
Subject:   critical problem in www/squirm
Message-ID:  <43056ADA.2070306@Kernick.org>

next in thread | raw e-mail | index | archive | help
On Thu, Mar 24, 2005 at 10:22:32AM +0100, krym at sklug.sk wrote:
> if i run /usr/local/bin/squirm from shell and i put Ctrl+D, i become
> every time the following lines:
> squirm in free(): error: chunk is already free
> Abort trap (core dumped)

This is a bug in squirm.  I've submitted the following patch as a send-pr to 
get the port fixed.


Phil.


--- lists.c.orig        Fri Aug 19 13:53:29 2005
+++ lists.c     Fri Aug 19 14:23:42 2005
@@ -366,7 +366,6 @@
      next = head->next;
      if(head->patterns.pattern) {
        cfree(head->patterns.pattern);
-      regfree(&(head->patterns.cpattern));
      }
      if(head->patterns.replacement)
        cfree(head->patterns.replacement);
@@ -383,7 +382,6 @@

      if(prev->patterns.pattern) {
        cfree(prev->patterns.pattern);
-      regfree(&(prev->patterns.cpattern));
      }
      if(prev->patterns.replacement)
        cfree(prev->patterns.replacement);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43056ADA.2070306>