cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Password is written along with the error message.

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 12 Mar 2004 10:26:02 +0100 (CET)

On Fri, 12 Mar 2004, Arun K Khandelwal wrote:

> Here is the error message written in error buffer.

[ftp transfer that fails cut out]

> Password is written in the following case also:

[ftp transfer that works cut out]

Really?

I just can't see how this happens (I can't find any code that does anything to
the error message buffer unless failf() is called, and I can't see it being
called if it succeeds and even if it did, I can't see any code that pass on
the passwd to failf() anyway!).

Can you provide a small source code example that shows this happening?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-12