ssh-keygen opens NULL filename

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Thu Oct 17 01:34:02 EST 2002


Hi,
  I did few checks and as I'm not C proghrammer at all, have just few
points regarding ssh-keygen.c:

905             if (strstr(identity_file, dotsshdir) != NULL &&

	isn't the above line missing a closing bracket?


Could someone just have a look on gdb output at:
http://www.natur.cuni.cz/~mmokrejs/openssh-3.5p1/ ? Thanks.
In one of them, I also pointed out:

956                     snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname);

-----------------------------------------------^ sizeof(comment) instead?


The identity_file variable contents somehow change over time, isn't that
my problem? Same with hostname for example.

-- 
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




More information about the openssh-unix-dev mailing list