[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] [ANNOUNCE] First Leafnode-2.0 beta version



On Wed, 25 Oct 2000, Cornelius Krasel wrote:
> Matthias Andree wrote:
> 
> > krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:
> > > Joerg Dietrich wrote:
> > > > [dietrich@cipw22 leafnode-2.0b1]$ make
> > > > [...]
> > > > nntputil.c: In function `putaline':
> > > > nntputil.c:68: warning: implicit declaration of function
> > > > `vsnprintf'
> > > 
> > > This is a problem since I don't have a replacement code for vsnprintf()
> > > at the moment.
> > 
> > So don't use vsnprintf then ;-)
> 
> It is not easy to replace vsnprintf(). One could use vsprintf() instead,
> but this would make Leafnode potentially vulnerable to buffer overflow
> type attacks.

Would it not be possible to cut-and-paste the code for vsnprintf() into
the Leafnode code (perhaps under a different name, to avoid conflicts)?

I realise this is inelegant, but it could solve the problem, until such
time as everyone's C library catches up.

BTW, 2.0b1 works fine on my system with no problems so far. It seems
to work happily with my Leafwa program.

BTW2, the URL for Leafwa on the Leafnode website is wrong; the correct
URL is http://www.vision25.demon.co.uk/oss/leafwa/intro.html

-- 
***** Phil Hunt ***** 
"An unforseen issue has arisen with your computer. Don't worry your silly 
little head about what has gone wrong; here's a pretty animation of a 
paperclip to look at instead."
         -- Windows2007 error message



-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list