wasm-micro-runtime
wasm-micro-runtime copied to clipboard
Ensure --addr-pool mask accepts numbers only
The --addr-pool option previously used atoi to parse the mask value.
If non-numeric characters were included, atoi returned 0, causing the pool to unintentionally accept all IP addresses.
This change ensures the mask accepts only numeric values, preventing unexpected behavior.