www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/03/27/12:28:44

From: cgf AT bbc DOT com (Christopher Faylor)
Subject: Re: New winsup snapshot 3/25/98
27 Mar 1998 12:28:44 -0800 :
Message-ID: <EqHu9L.55C.cygnus.cygwin32.developers@bbc.com>
References: <01BD58A8 DOT 50FC3D60 AT gater DOT krystalbank DOT msk DOT ru>
Reply-To: cgf AT bbc DOT com
To: cygwin32-developers AT cygnus DOT com

I just wanted to confirm that this *is* a bug.  The parse_options code
expects a union where Sergey is correcting it.  If it isn't a union then
there will be a reference to an uninitialized pointer.

In article <01BD58A8 DOT 50FC3D60 AT gater DOT krystalbank DOT msk DOT ru>,
Sergey Okhapkin  <sos AT prospect DOT com DOT ru> wrote:
>Geoffrey Noer wrote:
>> New winsup snapshot available for those of you who care.  :-)
>
>The bugs remains the same :-)
>
>H:\usr\src\cygnus\cdk\winsup>diff -up environ.cc.orig environ.cc
>--- environ.cc.orig     Thu Mar 26 10:46:24 1998
>+++ environ.cc  Thu Mar 26 11:12:15 1998
>@@ -212,7 +212,7 @@ parse_options (char *buf)
>   struct
>     {
>       char *name;
>-      struct
>+      union
>        {
>          BOOL *b;
>          DWORD *x;
>
>
>-- 
>Sergey Okhapkin, http://www.lexa.ru/sos
>Moscow, Russia


-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."

- Raw text -


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