[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] proftpd/contrib/mod_sftp auth-kbdint.c, 1.6, 1.6.2.1
From:       TJ Saunders <castaglia () users ! sourceforge ! net>
Date:       2013-03-28 23:03:56
Message-ID: E1ULLrS-0003NU-16 () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/contrib/mod_sftp
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10470/contrib/mod_sftp

Modified Files:
      Tag: B1_3_4
	auth-kbdint.c 
Log Message:

Bug#3921 - Single failed keyboard-interactive login attempt causes SSH
connection to close prematurely.


Index: auth-kbdint.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/auth-kbdint.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- auth-kbdint.c	4 Aug 2011 21:15:19 -0000	1.6
+++ auth-kbdint.c	28 Mar 2013 23:03:54 -0000	1.6.2.1
@@ -1,6 +1,6 @@
 /*
  * ProFTPD - mod_sftp 'keyboard-interactive' user authentication
- * Copyright (c) 2008-2011 TJ Saunders
+ * Copyright (c) 2008-2013 TJ Saunders
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -140,7 +140,7 @@
 
   if (res < 0) {
     *send_userauth_fail = TRUE;
-    errno = EPERM;
+    errno = EACCES;
     return 0;
   }
 


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic