Cisco-Talos / clamav

ClamAV - Documentation is here: https://docs.clamav.net
https://www.clamav.net/
GNU General Public License v2.0
4.27k stars 692 forks source link

Reduce C-Rust FFI complexity for HTML CSS image extraction logic (1.3.1) #1242

Closed micahsnyder closed 5 months ago

micahsnyder commented 5 months ago

Backport of https://github.com/Cisco-Talos/clamav/pull/1241


The C-Rust FFI code is needlessly complex. Now that we are calling into magic_scan from Rust, we can simply hand off the