Mail Archives: cygwin-developers/1998/03/27/12:28:44
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 -