There's a bug in the patch I submitted some time ago to properly filter
path info from filenames on incoming filetransfers.  Here's a patch
against current CVS that corrects it.

-- 
Tim van Erven <[EMAIL PROTECTED]>          Fingerprint: F6C9 61EE 242C C012
OpenPGP Key ID: 712CB811                   36D5 BBF8 6310 D557 712C B811
Index: src/icqd-filetransfer.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-filetransfer.cpp,v
retrieving revision 1.16
diff -u -r1.16 icqd-filetransfer.cpp
--- src/icqd-filetransfer.cpp   21 Jan 2003 02:00:30 -0000      1.16
+++ src/icqd-filetransfer.cpp   25 Jan 2003 14:19:31 -0000
@@ -448,7 +448,7 @@
       // reasons
       char *pTmp, *pNoPath;
       for (pTmp = m_szFileName + strlen(m_szFileName);
-           *pTmp != '/' && pTmp >= m_szFileName;
+           pTmp >= m_szFileName && *pTmp != '/';
            pTmp--);
       if (pTmp >= m_szFileName && *pTmp == '/')
       {

Reply via email to