Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-5932

clam_scan_file name conflict with clamav plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 1.5.4
    • None
    • Antivirus, Libraries
    • None
    • All
    • MOODLE_15_STABLE

    Description

      With PHP4 at least, if the clamav PHP plugin is installed, then the file uploadlib.php can't be loaded because the function 'clam_scan_file' is redeclared. Presumeably the clamav plugin declares its own function with that name.

      Works fine now that I've uninstalled the PHP plugin (which I didn't need anyway).

      I think if the 'clam_scan_file' function was simply renamed (maybe to 'mdl_clam_scan_file' or something) then this would be fixed.

      Attachments

        Issue Links

          Activity

            People

              dougiamas Martin Dougiamas
              imported Imported
              Ruslan Kabalin, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: