wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

Ensure --addr-pool mask accepts numbers only

Open linear0211 opened this issue 4 months ago • 0 comments

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.

linear0211 avatar Sep 11 '25 13:09 linear0211