Skip to content

Commit

Permalink
session server ssh BUGFIX check erange on QNX
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed May 23, 2024
1 parent 941f122 commit ae7c3af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/session_server_ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ nc_server_ssh_getspnam(const char *username, struct spwd *spwd_buf, char **buf,
r = getspnam_r(username, spwd_buf, *buf, *buf_size, &spwd);
# else
spwd = getspnam_r(username, spwd_buf, *buf, *buf_size);
r = errno;
# endif
if (spwd) {
/* entry found */
Expand Down

0 comments on commit ae7c3af

Please sign in to comment.