This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygpath 1.7 wrong


On Jun 13 17:14, Corinna Vinschen wrote:
> > char *Cygwin_mount_flags(char *pathname) {
> >
> >     char flags[260]; /* I know, I know. stack vs heap */
> > [...]
> >     return flags;

And it's returning the content of a local buffer.  Ouch!


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]