This is the mail archive of the cygwin-patches 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: [PATCH] cygwin: fix potential buffer overflow in fork


On Oct 10 14:44, Corinna Vinschen wrote:
> On Oct 10 14:26, Michael Haubenwallner wrote:
> > But wait, what's the difference between syscall_printf and system_printf?
> 
> Prefixing with timestamps and stuff.

No, wait.  I mixed that up with small_printf.  syscall_printf is printed
in an strace only, while system_printf is printed on the console, too.

I'm not sure what the intention here is, except to distinguish the cases
where frok::error() isn't called when failing, two cases with error()
only called in an `#ifdef DEBUGGING'.

[...time passes...]

Ah, I understand the first case in frok::parent, just not the second one.
But, anyway, let's stick to it.

Patch pushed as is.


Thanks,
Corinna

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

Attachment: signature.asc
Description: PGP signature


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