Skip to content

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

Merged
val-ms merged 1 commit into
Cisco-Talos:dev/1.3.1from
val-ms:CLAM-2573-css-image-extract-cleanup-1.3
Apr 15, 2024
Merged

Reduce C-Rust FFI complexity for HTML CSS image extraction logic (1.3.1)#1242
val-ms merged 1 commit into
Cisco-Talos:dev/1.3.1from
val-ms:CLAM-2573-css-image-extract-cleanup-1.3

Conversation

@val-ms
Copy link
Copy Markdown
Contributor

@val-ms val-ms commented Apr 14, 2024

Backport of #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 <style> block contents to Rust code to handle extraction and scanning.

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.
@val-ms val-ms merged commit b52bddd into Cisco-Talos:dev/1.3.1 Apr 15, 2024
@val-ms val-ms deleted the CLAM-2573-css-image-extract-cleanup-1.3 branch April 15, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment