I cleaned up the code and prepared a PR to assist. Currently in draft and comments are welcome. The code seems reasonable to my eyes.
https://github.com/Cisco-Talos/clamav/pull/780 On Tue, Nov 22, 2022 at 2:26 PM Andy Schmidt via clamav-users < clamav-users@lists.clamav.net> wrote: > GWH>> Try replacing the function cli_chkpua() in .../libclamav/readdb.c > with > << > GWH>> Please feel free to correct mistakes in this and push to Github or > whatever. << > > Thanks G.W. for looking into it and testing a potential fix. > Unfortunately, I'm not running a self-compiled version, but rather one of > the "canned" (Windows) binaries and don't have a development environment > set > up, nor would I know anything about Github, or pushing anything. > > Hopefully, someone of the ClamAV team is reading along and will take your > kind contribution under advisement for the benefit of this product. > > Best Regards > Andy > > -----Original Message----- > From: G.W. Haywood <cla...@jubileegroup.co.uk> > > Try replacing the function cli_chkpua() in .../libclamav/readdb.c with... > > ... > > No promises, but it's loaded the DB OK here. Please feel free to correct > mistakes in this and push to Github or whatever. > > HTH > > > > _______________________________________________ > > Manage your clamav-users mailing list subscription / unsubscribe: > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/Cisco-Talos/clamav-documentation > > https://docs.clamav.net/#mailing-lists-and-chat >
_______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat