Blame SOURCES/vsftpd-2.0.5-fix_qm.patch

eafa9e
diff -up vsftpd-2.0.5/ls.c.fix_qm vsftpd-2.0.5/ls.c
eafa9e
--- vsftpd-2.0.5/ls.c.fix_qm	2012-03-02 12:59:01.303249397 +0100
eafa9e
+++ vsftpd-2.0.5/ls.c	2012-03-02 13:00:03.792145117 +0100
eafa9e
@@ -454,7 +454,8 @@ vsf_filename_passes_filter(const struct
eafa9e
         must_match_at_current_pos = 0;
eafa9e
       }
eafa9e
     } while (locate_result.found &&
eafa9e
-             str_getlen(&name_remain_str) > 0 && last_token != '*');
eafa9e
+             str_getlen(&name_remain_str) > 0 &&
eafa9e
+             last_token != '*' && last_token != '?');
eafa9e
   }
eafa9e
   /* Any incoming string left means no match unless we ended on the correct
eafa9e
    * type of wildcard.