On 12/04, Joe Damato wrote:
Fix various integer type conversions by using strtoull and a temporary variable which is bounds checked before being casted into the appropriate cfg_* variable for use by the test program.
While here:
- free the strdup'd cfg string for overall hygenie.
- initialize napi_id = 0 in setup_queue to avoid warnings on some compilers.
Signed-off-by: Joe Damato jdamato@fastly.com
v2:
- initialize napi_id to 0 in setup_queue to avoid clang warning as suggested by Stanislav. Tested with clang 10.0.0 and 18.1.8
Acked-by: Stanislav Fomichev sdf@fomichev.me