[EMAIL PROTECTED] wrote:
Alex,
I have a concern regarding the winservice.c _snprintf changes.
Should they be of the form:
snprintf(OBJECT, sizeof(OBJECT-1), ...
since not all objects are MAX_STR_SIZE large.
Thanks Mike! It's fixed in main and V5-1-Patches.
Alex
Regards,
-Mike
--
On Wed, Sep 29, 2004 at 08:30:42PM -0400, [EMAIL PROTECTED] wrote:
> snprintf(OBJECT, sizeof(OBJECT-1), ...
No,
snprintf(OBJECT, sizeof OBJECT, ...)
works fine: the count includes the NUL byte.
Steve
---
Stephen J Friedl | Security Consultant | UNIX Wizard | +1 714 544-6561
www.
Alex,
I have a concern regarding the winservice.c _snprintf changes.
Should they be of the form:
snprintf(OBJECT, sizeof(OBJECT-1), ...
since not all objects are MAX_STR_SIZE large.
Regards,
-Mike
---
This SF.net email is sponsored by: