[clamav-users] ExcludePath Segmentation Fault Errorr

Eero Volotinen eero.volotinen at iki.fi
Sat Mar 6 22:42:27 UTC 2021


https://www.thegeekstuff.com/2014/12/patch-command-examples/

Eero

On Sun 7. Mar 2021 at 0.20, Michael Kyriacou via clamav-users <
clamav-users at lists.clamav.net> wrote:

> How can I apply this patch?
>
> On Sat, Mar 6, 2021 at 5:03 PM Micah Snyder (micasnyd) via clamav-users <
> clamav-users at lists.clamav.net> wrote:
>
>> Hi Michael,
>>
>> It looks to me like you've stumbled across this issue:
>> https://bugzilla.clamav.net/show_bug.cgi?id=12676
>>
>> I have a fix on the way.  The attached patch works, though I am still
>> tidying up some additional error handling cleanup work per peer review.
>>
>> Regards,
>> Micah
>>
>> > -----Original Message-----
>> > From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of
>> > G.W. Haywood via clamav-users
>> > Sent: Thursday, March 4, 2021 8:20 AM
>> > To: Michael Kyriacou via clamav-users <clamav-users at lists.clamav.net>
>> > Cc: G.W. Haywood <clamav at jubileegroup.co.uk>
>> > Subject: Re: [clamav-users] ExcludePath Segmentation Fault Errorr
>> >
>> > Hi there,
>> >
>> > On Thu, 4 Mar 2021, Michael Kyriacou via clamav-users wrote:
>> >
>> > > Hello, I am running into a bug/error when adding an ExcludePath to my
>> > > clamd.conf I am running Ubuntu 20.04.2, with clamav 0.103.1(from
>> > > source) When I add the line: ExlucudePath .*\.sys$, the following
>> > > issues occur when running the command "clamdscan -m --fdpass
>> > > /path/to/mounted/filesystem
>> > > *Note: This error occurs only when using the -m parameter in
>> > > combination with --fdpass against a Mounted filesystem other than the
>> > > main harddrive*
>> > >
>> > > Running it against my home directory
>> > > [image: image.png]
>> > > Running it against a mounted filesystem with data in it
>> > > [image: image.png]
>> > > I tested this on over 50 different mounted filesystem, and the same
>> > > error occurs.
>> > >
>> > > Is there any fix to this?
>> >
>> > You are using the asterisk charater in your command lines incorrectly.
>> > You need to quote it (and any other 'special' characters you use in a
>> command),
>> > or (in the case of a path) quote the entire path.  Otherwise the shell
>> will expand
>> > the asterisk which will result in a command very unlike the one you
>> intended.
>> > See the 'man' page for the bash shell:
>> >
>> > man bash
>> >
>> > But, even with incorrect command lines, there should not be segfaults.
>> >
>> > Check the ClamAV bugzilla, and if you don't find anything which seems to
>> > describe your issue please either open a new report yourself or reply
>> here and
>> > someone will be able to open one:
>> >
>> > https://bugzilla.clamav.net/buglist.cgi?component=clamd&product=ClamAV
>> >
>> > --
>> >
>> > 73,
>> > Ged.
>> >
>> > _______________________________________________
>> >
>> > clamav-users mailing list
>> > clamav-users at lists.clamav.net
>> > https://lists.clamav.net/mailman/listinfo/clamav-users
>> >
>> >
>> > Help us build a comprehensive ClamAV guide:
>> > https://github.com/vrtadmin/clamav-faq
>> >
>> > http://www.clamav.net/contact.html#ml
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users at lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210307/5d61f525/attachment.htm>


More information about the clamav-users mailing list