Cisco-Talos / clamav

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

Reduce C-Rust FFI complexity for HTML CSS image extraction logic #1241

Closed micahsnyder closed 7 months ago

micahsnyder commented 7 months ago

The C-Rust FFI code is needlessly complex. Now that we are calling into magic_scan from Rust, we can simply hand off the <style> block contents to Rust code to handle extraction and scanning.