Subject: Re: [PATCH] Use safer snprintf rather then sprintf in scp_recv()

Re: [PATCH] Use safer snprintf rather then sprintf in scp_recv()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Mar 2012 18:57:05 +0100 (CET)

On Tue, 6 Mar 2012, Steven Dake wrote:

> While the buffer is indeed allocated to a safe length, better safe then
> sorry.

Sure, but we aim for C89 compatibility so snprintf() isn't generally available
- we would then need to provide an internal version for the inferior systems!

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-06