[eggheads-patches] PATCH1.6: log_time-030428.patch

Dariusz Kulinski takeda at eggheads.w.pl
Mon Apr 28 18:57:42 CST 2003


This is bugfix to problem:

I talked with that person in native language and now I understand what
was the real problem.
Eggdrop didn't really work correctly when log-time was set to 0.
When timestamp is off there was junk in that place.
This patch fixes it.

Also I found small potential buffer overflow in stamp. That array was
33 bytes long, checking was for 32 bytes but somebody forget that
there is extra space and \0 at the end. I increased stamp array to 34
to have still available 32 characters for timestamp.

Best regards,
 Dariusz                          mailto:takeda at eggheads.w.pl
SCSA, SCNA, LPI, CCNA, MCP certified
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_time-030428.patch
Type: application/octet-stream
Size: 1411 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/20030428/b7d86d86/attachment.obj>

More information about the Patches mailing list