[BACK]Return to auth-options.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth-options.c between version 1.84 and 1.85

version 1.84, 2018/10/03 06:38:35 version 1.85, 2019/06/27 18:03:37
Line 329 
Line 329 
                  * Allow a bare port number in permitlisten to indicate a                   * Allow a bare port number in permitlisten to indicate a
                  * listen_host wildcard.                   * listen_host wildcard.
                  */                   */
                 if (asprintf(&tmp, "*:%s", opt) < 0) {                  if (asprintf(&tmp, "*:%s", opt) == -1) {
                         *errstrp = "memory allocation failed";                          *errstrp = "memory allocation failed";
                         return -1;                          return -1;
                 }                  }

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85