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] Don't append extra NUL to registry-strings.


On Sep  7 23:27, Bas van Gompel wrote:
> 2005-09-07  Bas van Gompel  <cygwin-patch.buzz@bavag.tmfweb.nl>
> 
> 	* regtool.cc: Extend copyright-years.
> 	(print_version): Ditto.
> 	(cmd_list): Don't depend on terminating '\0' being present on
> 	string-values.
> 	(cmd_get): Don't attempt to read more than present, but keep
> 	extra space for terminating '\0'. Really output REG_BINARY.
> 	Don't leak memory.
> 	(cmd_set): Include trailing '\0' in string's length.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.


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