delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/12/07/06:14:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
To: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: incorrect switch in CYGWIN variable
From: Vadim Egorov <egorovv AT 1c DOT ru>
Date: 07 Dec 1999 14:12:50 +0300
Message-ID: <uyab757il.fsf@1c.ru>
Lines: 24
User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4.93
MIME-Version: 1.0
X-MDaemon-Deliver-To: cygwin AT sourceware DOT cygnus DOT com
X-Return-Path: EgorovV AT 1c DOT ru

Hello,
Incorrect switch in CYGWIN variable causes crash in strcasematch
in the last cygwin snapshot

I believe the following patch fixes this

--- environ.cc.orig	Tue Dec 07 12:07:38 1999
+++ environ.cc	Tue Dec 07 12:07:51 1999
@@ -375,7 +375,7 @@ parse_options (char *buf)
       else
 	ch = 0;
 
-      for (parse_thing *k = known; k != NULL; k++)
+      for (parse_thing *k = known; k->name != NULL; k++)
 	if (strcasematch (p, k->name))
 	  {
 	    switch (k->disposition)



-- 
Regards,
Vadim Egorov 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019