Vulnerability Development mailing list archives
Re: sendmail ;o)
From: drow () FALSE ORG (Daniel Jacobowitz)
Date: Wed, 12 Jul 2000 21:57:04 -0700
On Wed, Jul 12, 2000 at 11:54:01AM +0200, Slawek wrote:
Well it's about the same like in finger - even "better" ;) .. snprintf does not null terminate :)
So, I've been guilty of this a time or two myself, so I felt I should correct this. snprintf() in most cases DOES null terminate - there are probably some platforms where it does not, but it usually does. You may be thinking of strncpy(), which does not. Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 | | Debian GNU/Linux Developer __ Carnegie Mellon University | | dan () debian org | | dmj+ () andrew cmu edu | \--------------------------------/ \--------------------------------/
Current thread:
- sendmail ;o) Slawek (Jul 12)
- Re: sendmail ;o) Daniel Jacobowitz (Jul 12)
- Re: sendmail ;o) Slawek (Jul 13)
- Re: sendmail ;o) Gregory Neil Shapiro (Jul 16)
- Re: sendmail ;o) Kev (Jul 17)
- Re: sendmail ;o) Slawek (Jul 13)
- Re: sendmail ;o) Kev (Jul 13)
- Re: sendmail ;o) Daniel Jacobowitz (Jul 12)