Part 2 of Fixing a security hole in pinfo.

Corinna Vinschen
Tue Sep 16 09:40:00 GMT 2003

On Mon, Sep 15, 2003 at 09:01:52PM -0400, Pierre A. Humblet wrote:
> There is also a change I'd like to make eventually: the original_sid
> and the sid are cmalloc'ed. As they have a fixed size and every process
> needs them, we might as well make them cygsid's in the user structure.
> That would be safer and would simplify a few things.

While I tend to like the idea in itself, I don't see the simplification.
Except for not having to cmalloc in cygheap_user::set_sid() and
cygheap_user::set_saved_sid(), what's the deal?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-patches mailing list