www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [PATCH] In examples/x11.c, Make sure sizeof passed to read operation is correct

Re: [PATCH] In examples/x11.c, Make sure sizeof passed to read operation is correct

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Mar 2012 22:22:09 +0100 (CET)

On Sun, 11 Mar 2012, Steven Dake wrote:

> sizeof(buf) expands to 8ULL (since its a pointer). This variable may have
> been static in the past, leading to this error.

Thanks, both your x11 cleanups have now been pushed.

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

the libssh2 team