🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25031

INN's nnrpd.c 1.5.1sec2 to 1.7.2 changes

#25031
From: Hans Lambermont
Date: Thu, 08 Jan 1998 00:00
25 lines
1392 bytes
Hello,

This is a diff part of my old (1.5.1sec2) nnrpd.c against the new
(1.7.2) one:
<     (void)snprintf(buff, sizeof(buff), "%s %s", ClientHost, what);
---
>     (void)sprintf(buff, "%s %s", ClientHost, what);
<     (void)snprintf(buff, sizeof(buff), "(nnrpd) %s %s", ClientHost,
what);
---
>     (void)sprintf(buff, "(nnrpd) %s %s", ClientHost, what);
etc.

A lot of safety checks are removed in the new 1.7.2 version. Why?

regards,
   Hans
-- 
Ir. Hans Lambermont        http://www.mpn.cp.philips.com/Hans.Lambermont
TIS/INS, VN507                        Hans.Lambermont@mpn.cp.philips.com
Origin IT Systems Management/NL bv    phone/fax: (+31 40 27) 85376/88729
PO Box 218, 5600MD Eindhoven, Netherlands          GSM: (+31) 6 53252172

Technical Details
Message-ID: <34B4937A.3F54BC7E@nl.origin-it.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <34B4937A.3F54BC7E@nl.origin-it.com>
Subject: INN's nnrpd.c 1.5.1sec2 to 1.7.2 changes
Date: Thu, 08 Jan 1998 00:00:00 +0000
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 313898565
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Philips Electronics N.V.
Newsgroups: news.software.nntp