Displaying 3 results from an estimated 3 matches for "do_host".
Did you mean:
db_host
2010 Mar 06
1
ssh-keyscan bug (not really exploitable)
...whitespace at end */
+ for (i = strcspn(line, "#\n");
+ i > 0 && strchr(" \t", line[i - 1]);
+ i--);
+ line[i] = '\0';
+
+ /* Skip empty lines, comments */
+ if (i == 0)
continue;
- while ((line = Linebuf_getline(lb)) != NULL)
- do_host(line);
- Linebuf_free(lb);
+
+ do_host(line);
+
+ i = 0;
}
+
+ if (ferror(fp))
+ fatal("%s: %s: %s", __progname, argv[j],
+ strerror(errno));
+
+ fclose(fp);
}
+
+ if (line)
+ xfree(line);
while (optind < argc)
do_host(argv[optind++]);
2015 Jan 27
0
[Bug 1213] ssh-keyscan exits in mid-way
...keygrab_ssh2 (c=0x7ffff8207160)
at ../ssh-keyscan.c:292
#5 0x00007ffff7f86e99 in congreet (s=149) at ../ssh-keyscan.c:501
#6 0x00007ffff7f86f34 in conread (s=149) at ../ssh-keyscan.c:516
#7 0x00007ffff7f873b5 in conloop () at ../ssh-keyscan.c:587
#8 0x00007ffff7f874cf in do_host (
host=0x7fffffffe27b "foobaz.internal.example.com,X.Y.Z.W")
at ../ssh-keyscan.c:613
#9 0x00007ffff7f87d44 in main (argc=6, argv=0x7fffffffe778)
at ../ssh-keyscan.c:779
This is the 20150127 snapshot, still. There seem to be a number of
places in ssh_packet_re...
2015 Jan 30
0
[Bug 1213] ssh-keyscan exits in mid-way
...keygrab_ssh2 (c=0x7ffff8207d60)
at ../ssh-keyscan.c:293
#4 0x00007ffff7f860ba in congreet (s=213) at ../ssh-keyscan.c:503
#5 0x00007ffff7f86155 in conread (s=213) at ../ssh-keyscan.c:518
#6 0x00007ffff7f865d6 in conloop () at ../ssh-keyscan.c:589
#7 0x00007ffff7f866f0 in do_host (
host=0x7fffffffe27c "blarg.internal.example.com,A.B.C.D")
at ../ssh-keyscan.c:615
#8 0x00007ffff7f86f65 in main (argc=6, argv=0x7fffffffe778)
at ../ssh-keyscan.c:781
For what it's worth, as far as the arguments to that select() call are
concerned......