critical problem in www/squirm

Phil Kernick Phil at Kernick.org
Fri Aug 19 05:15:22 GMT 2005


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);



More information about the freebsd-ports mailing list