[89222] trunk/dports/editors/nedit

raimue at macports.org raimue at macports.org
Sat Jan 21 09:40:24 PST 2012


Revision: 89222
          http://trac.macports.org/changeset/89222
Author:   raimue at macports.org
Date:     2012-01-21 09:40:22 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
editors/nedit:
Fix a segmentation fault on startup caused by wrong buffer size, closes #30854

Modified Paths:
--------------
    trunk/dports/editors/nedit/Portfile

Added Paths:
-----------
    trunk/dports/editors/nedit/files/patch-segfault.diff

Modified: trunk/dports/editors/nedit/Portfile
===================================================================
--- trunk/dports/editors/nedit/Portfile	2012-01-21 17:34:59 UTC (rev 89221)
+++ trunk/dports/editors/nedit/Portfile	2012-01-21 17:40:22 UTC (rev 89222)
@@ -4,7 +4,7 @@
 
 name             nedit
 version          5.5
-revision         1
+revision         2
 categories       editors
 maintainers      nomaintainer
 homepage         http://www.nedit.org/
@@ -31,7 +31,8 @@
 
 worksrcdir       ${name}-${version}
 
-patchfiles       patch-Makefile.macosx
+patchfiles       patch-Makefile.macosx \
+                 patch-segfault.diff
 
 use_configure    no
 

Added: trunk/dports/editors/nedit/files/patch-segfault.diff
===================================================================
--- trunk/dports/editors/nedit/files/patch-segfault.diff	                        (rev 0)
+++ trunk/dports/editors/nedit/files/patch-segfault.diff	2012-01-21 17:40:22 UTC (rev 89222)
@@ -0,0 +1,10 @@
+--- source/regularExp.c       2004-08-20 10:37:30.000000000 -0600
++++ source/regularExp.c     2012-01-12 18:04:36.000000000 -0700
+@@ -2645,7 +2645,7 @@
+ 
+ /* Default table for determining whether a character is a word delimiter. */
+ 
+-static unsigned char  Default_Delimiters [UCHAR_MAX] = {0};
++static unsigned char  Default_Delimiters [UCHAR_MAX+1] = {0};
+ 
+ static unsigned char *Current_Delimiters;  /* Current delimiter table */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/6640efeb/attachment.html>


More information about the macports-changes mailing list