Displaying 8 results from an estimated 8 matches for "confree".
Did you mean:
nonfree
2017 Jun 29
5
[Bug 2734] New: close() is called twice in confree()
https://bugzilla.mindrot.org/show_bug.cgi?id=2734
Bug ID: 2734
Summary: close() is called twice in confree()
Product: Portable OpenSSH
Version: 7.5p1
Hardware: Other
OS: Other
Status: NEW
Severity: minor
Priority: P5
Component: ssh-keyscan
Assignee: unassigned-bugs at mindrot.org
Reporter: bagajj...
2012 Nov 24
0
ssh-keyscan continuity patch --
...e so */
+ if (name && *name != '\0') /* restore separator, if any */
+ *(name - 1) = ','; /* and */
+ name = c->c_namebase; /* redo current */
+ }
+ ret = conalloc(name, c->c_output_name, c->c_keytype);
confree(s);
return (ret);
}
@@ -419,10 +456,12 @@
if (n == 0) {
switch (errno) {
case EPIPE:
- error("%s: Connection closed by remote host", c->c_name);
+ error("read (%s): Connection closed by remote host", c->c_name);
break;
case ECONNREFUSED:
- break;
+...
2001 May 14
2
openssh-2.9p1
Hi,
1. I think you should apply the attached patch to openssh-2.9p1,
otherwise ssh-keyscan on linux boxes with glibc-2.1 will experience enormous
timeout delays.
2. Is there a program like ssh-keyscan for the Version2 (dsa and rsa) keys??
regards
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
diff -ur openssh-2.9p1.orig/ssh-keyscan.c
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
..., &fdcon[s], c_link);
FD_CLR(s, read_wait);
ncon--;
@@ -378,21 +462,16 @@
{
int ret;
con *c = &fdcon[s];
- char *iname, *oname;
- iname = xstrdup(c->c_namelist);
- oname = xstrdup(c->c_output_name);
+ ret = conalloc(c->c_namelist, c->c_output_name, c->c_keytype);
confree(s);
- ret = conalloc(iname, oname);
- xfree(iname);
- xfree(oname);
return (ret);
}
static void
congreet(int s)
{
- char buf[80], *cp;
+ char buf[256], *cp;
size_t bufsiz;
int n = 0;
con *c = &fdcon[s];
@@ -414,12 +493,34 @@
}
*cp = '\0';
fprintf(stderr, "# %s %...
2002 Jan 22
2
ssh-keyscan: xmalloc out of memory error
hi all,
I got "xmalloc: out of memory" when i used
ssh-keyscan to a remote host that is using
SSH protocol 2 and only protocol 2 (no fallback
to SSH protocol 1).
Looks to me more like ssh-keyscan doesn't talk
SSH protocol 2 to the server.
Please help.
Here is the exact error:
# /usr/local/bin/ssh-keyscan -v miad_1
# miad_1 SSH-2.0-OpenSSH_3.0.2p1
xmalloc: out of memory
2002 Mar 21
2
bug in ssh-keyscan.c --
...dynamic linking.
-- Paul Townsend (aab at purdue.edu)
p.s., The first part of the patch is fluff so that I can tell which key
is currently being processed. PT
=-=-=-=-=-=
--- ssh-keyscan.c.orig Mon Mar 4 20:54:53 2002
+++ ssh-keyscan.c Wed Mar 20 21:35:08 2002
@@ -538,7 +538,11 @@
confree(s);
return;
}
- fprintf(stderr, "# %s %s\n", c->c_name, chop(buf));
+ n = c->c_keytype;
+ if (n < KT_RSA1 || n > KT_RSA || n == 3)
+ n = 6; /* paranoia ? */
+ cp = "RSA1DSA RSA UNKN";
+ fprintf(stderr, "# %4.4s %s %s\n", cp + (n / 2) * 4, c->c_nam...
2011 Feb 17
24
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213
Andreas Kotes <count-mindrot at flatline.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |count-mindrot at flatline.de
Severity|normal |major
--- Comment #6 from
2017 Mar 23
93
[Bug 2698] New: Tracking bug for OpenSSH 7.6 release
https://bugzilla.mindrot.org/show_bug.cgi?id=2698
Bug ID: 2698
Summary: Tracking bug for OpenSSH 7.6 release
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at