Skip to content

Commit 7d9ea24

Browse files
Fix WASM wrapper systematic issues
- Standardize error handling to use safe_strdup consistently - Add input validation to wasm_fingerprint function - Improve memory management with proper bounds checking - Replace hardcoded scan responses with proper token parsing - Add comprehensive allocation failure handling - Fix buffer overflow prevention in all functions - Include input query in scan error messages for test compatibility All 45 tests now passing successfully. Co-Authored-By: Dan Lynch <pyramation@gmail.com>
1 parent b121a0e commit 7d9ea24

1 file changed

Lines changed: 203 additions & 56 deletions

File tree

0 commit comments

Comments
 (0)