[MacPorts] #30889: Nedit abort()s in __memset_chk

MacPorts noreply at macports.org
Thu Jan 12 18:09:05 PST 2012


#30889: Nedit abort()s in __memset_chk
----------------------------------+-----------------------------------------
 Reporter:  mvondavier@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.1                                
 Keywords:                        |        Port:  nedit                                
----------------------------------+-----------------------------------------

Comment(by econoplas@…):

 The following patch fixed the problem for me on Mac OS X Lion 10.7.2...
 likely the same fix will work on 10.6.x. I don't have 10.6 so don't have a
 way to test it.


 {{{
 --- nedit-5.5/source/regularExp.c       2004-08-20 10:37:30.000000000
 -0600
 +++ nedit-5.5-macosx-lion-built/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 */
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30889#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list