Bugzilla – Bug 150559
ip_resend-0.3-485: printf problems
Last modified: 2006-03-21 23:41:03 UTC
I just tried to compile package ip_resend-0.3-485 with the Intel C compiler. It said 1. ip_resend.c(665): warning #267: the format string requires additional arguments The source code is fprintf(stderr, "ip_resend -o %s: option too long!\n"); Suggest code rework. 2. ip_resend_wakeup.c(72): warning #267: the format string requires additional arguments The source code is fprintf(stderr, "ip_resend -o %s: option too long!\n"); I suspect the -Wall compiler flag is not used to compile this package. There might be some value in adding it in.
Karsten: This is a security issue, please fix it.
I fixed STABLE and update to 0.4 (0.4 mainly includes our enhancments and move from stdout/stderr logs to sys_log). I also fix all other warnings, mostly char/u_char signess issues. Should we do updates for old releases ?
fixed for next release