[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-committers
Subject: [ProFTPD-committers] proftpd/src fsio.c,1.111,1.112
From: TJ Saunders <castaglia () users ! sourceforge ! net>
Date: 2012-12-29 0:11:40
Message-ID: E1Tok1e-0005io-7i () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/proftp/proftpd/src
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2289/src
Modified Files:
fsio.c
Log Message:
When safely creating directories, allow the parent directory path to be
a symlink.
Index: fsio.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/src/fsio.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- fsio.c 28 Dec 2012 02:37:41 -0000 1.111
+++ fsio.c 29 Dec 2012 00:11:38 -0000 1.112
@@ -2584,7 +2584,8 @@
return -1;
}
- if (!S_ISDIR(st.st_mode)) {
+ if (!S_ISDIR(st.st_mode) &&
+ !S_ISLNK(st.st_mode)) {
errno = EPERM;
return -1;
}
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
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