mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-03 01:10:17 +00:00
Remove some unreached/duplicated code. Add error checking for `atoi()` calls. About `isdigit()` and similar functions. The warning reported is: ``` Negative Character Value help isdigit() is invoked here with an argument of signed type char, but only has defined behavior for int arguments that are either representable as unsigned char or equal to the value of macro EOF(-1). Casting the argument to unsigned char will avoid the undefined behavior. In a number of libc implementations, isdigit() is implemented using lookup tables (arrays): passing in a negative value can result in a read underrun. ``` Switching to our macros fix that. Add a check to `check_symbols.sh` to avoid using the original functions from libc. |
||
|---|---|---|
| .. | ||
| asn_update.sh | ||
| aws_ip_addresses_download.sh | ||
| azure_ip_addresses_download.sh | ||
| bitcoinnodes.sh | ||
| bitcoinnodes_v4v6.sh | ||
| cachefly_ip_addresses_download.sh | ||
| check_symbols.sh | ||
| cloudflare_ip_addresses_download.sh | ||
| common.sh | ||
| crawlers_ip_addresses_download.sh | ||
| ethereum_ip_addresses_download.sh | ||
| gambling_sites_download.sh | ||
| get_routes6_by_asn.sh | ||
| get_routes_by_asn.sh | ||
| google.py | ||
| google6.py | ||
| google_cloud_ip_addresses_download.sh | ||
| google_ip_addresses_download.sh | ||
| hostname2list.py | ||
| icloud_private_relay_ip_addresses_download.sh | ||
| ipaddr2list.py | ||
| malicious_sites_download.sh | ||
| mergeipaddrlist.py | ||
| microsoft_ip_addresses_download.sh | ||
| mullvad_ip_addresses_download.sh | ||
| protonvpn_ip_addresses_download.sh | ||
| tor_ip_addresses_download.sh | ||
| update_every_lists.sh | ||
| verify_dist_tarball.sh | ||
| whatsapp_ip_addresses_download.sh | ||
| zoom_ip_addresses_download.sh | ||