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

Diff for /src/usr.bin/ssh/auth-rhosts.c between version 1.29 and 1.30

version 1.29, 2003/04/08 20:21:28 version 1.30, 2003/05/17 03:25:58
Line 68 
Line 68 
                  * This should be safe because each buffer is as big as the                   * This should be safe because each buffer is as big as the
                  * whole string, and thus cannot be overwritten.                   * whole string, and thus cannot be overwritten.
                  */                   */
                 switch (sscanf(buf, "%s %s %s", hostbuf, userbuf, dummy)) {                  switch (sscanf(buf, "%1023s %1023s %1023s", hostbuf, userbuf,
                       dummy)) {
                 case 0:                  case 0:
                         auth_debug_add("Found empty line in %.100s.", filename);                          auth_debug_add("Found empty line in %.100s.", filename);
                         continue;                          continue;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30