Skip to content

ClamAVj : a Java library for accessing the ClamAV clamd daemon

I wrote some code last week to scan files against the ClamAV antivirus scanner using the clamd daemon. It's up now on Google Code under the Apache 2.0 license.

One Comment

  1. Jussi Siponen wrote:

    Passing 0-size byte array to scan(byte[] in) fails. Easy to fix, though:

    * now *
    try {
    read = in.read(buffer);
    }

    * should be *
    try {
    read = in.read(buffer);
    if (read == -1) {
    break;
    }
    }

    Monday, May 31, 2010 at 12:30 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*