[Bug 3565] keygen do_download_sk() incorrect return value

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 21 12:51:09 AEST 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3565

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org
         Resolution|---                         |INVALID

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This was fixed before openssh-8.5 and the code has looked like this for
the almost the last three years:

  3034          if (i >= nkeys)
  3035                  ret = 0; /* success */
  3036          if (pass != NULL)
  3037                  freezero(pass, strlen(pass));
  3038          for (i = 0; i < nkeys; i++)
  3039                  sshkey_free(keys[i]);
  3040          free(keys);
  3041          return ret;
  3042  }

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list