=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keygen.c,v retrieving revision 1.350 retrieving revision 1.351 diff -u -r1.350 -r1.351 --- src/usr.bin/ssh/ssh-keygen.c 2019/09/16 03:23:02 1.350 +++ src/usr.bin/ssh/ssh-keygen.c 2019/09/24 12:50:46 1.351 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.350 2019/09/16 03:23:02 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.351 2019/09/24 12:50:46 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -88,7 +88,7 @@ static int fingerprint_hash = SSH_FP_HASH_DEFAULT; /* The identity file name, given on the command line or entered by the user. */ -static char identity_file[1024]; +static char identity_file[PATH_MAX]; static int have_identity = 0; /* This is set to the passphrase if given on the command line. */