OpenSSH
[Top] [All Lists]

Re: "Out of memory" error looking up SSHFP records

To: Darren Tucker <dtucker@zip.com.au>
Subject: Re: "Out of memory" error looking up SSHFP records
From: Simon Vallet <svallet@genoscope.cns.fr>
Date: Fri, 9 Feb 2007 11:03:49 +0100
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <45CBDF22.4000609@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Organization: Génoscope / CNRG
References: <20070208112131.1a858b91.svallet@genoscope.cns.fr> <45CBDF22.4000609@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
On Fri, 09 Feb 2007 13:40:34 +1100
Darren Tucker <dtucker@zip.com.au> wrote:

> A brief look at the code shows that error as occurring when 
> getrrsetbyname fails.  Does Tru64 have its own or is it using the one in 
> openbsd-compat?  (grep GETRRSET config.h)

It seems it is using the bundled one:
$ grep GETRRSET config.h
/* #undef HAVE_GETRRSETBYNAME */
$

> Also, are ERRSET_SUCCESS and/or ERRSET_NOMEMORY defined in the system 
> headers?

It doesn't seem so.

Both the query and reply can be seen on the wire ; tracing the client
doesn't reveal much more info : it fails after a successful recvfrom
(the call to res_query() i guess).

So it seems an alloc is failing somewhere... I'll try to confirm this
and get back to you.

Simon
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>