Menu

#10 cl_scanfile does not return if $virusname is blank string

v1.0 (example)
closed
ARGOS
None
5
2014-08-05
2012-02-02
Marc
No

The following code causes the Apache server never to deliver a HTTP response:
$virusname = '';
$result = cl_scanfile( $filename, $virusname );

The following definitions of $virusname work:
$virusname = null;
$virusname = 123;

NOTE: the Apache server does give a HTTP response if $virusname = ''; and there is a virus found

Discussion

  • Marc

    Marc - 2012-02-02

    test case

     
  • ARGOS

    ARGOS - 2012-07-01

    Please can you try with lasted 0.15.7 ?

     
  • ARGOS

    ARGOS - 2012-07-01
    • assigned_to: nobody --> argos66
     
  • ARGOS

    ARGOS - 2014-08-05

    This problem doesn't appear on php 5.5 with php-clamav 0.15.7 or current svn version.

     
  • ARGOS

    ARGOS - 2014-08-05
    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.