From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package krb5-1.2.5-6 from Redhat 8.0 The compiler said client.c:220: warning: too few arguments for format client.c:326: warning: too few arguments for format ./ftpcmd.y:1287: warning: operation on `state' may be undefined Here is an untested patch to shut up the compiler *** ./src/appl/gssftp/ftpd/ftpcmd.y.old 2003-01-12 11:02:39.000000000 +0000 --- ./src/appl/gssftp/ftpd/ftpcmd.y 2003-01-12 11:05:40.000000000 +0000 *************** *** 1284,1290 **** dostr1: if (cbuf[cpos] == ' ') { cpos++; ! state = state == OSTR ? STR2 : ++state; return (SP); } break; --- 1284,1290 ---- dostr1: if (cbuf[cpos] == ' ') { cpos++; ! state = (state == OSTR) ? STR2 : (state + 1); return (SP); } break; *** ./src/lib/rpc/unit-test/client.c.old 2003-01-12 10:58:40.000000000 +0000 --- ./src/lib/rpc/unit-test/client.c 2003-01-12 11:05:13.000000000 +0000 *************** *** 217,223 **** if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_ECHO call %d response wrong: " ! "arg = %s, resp = %s\n", echo_arg, *echo_resp); gssrpc_xdr_free(xdr_wrapstring, echo_resp); } --- 217,223 ---- if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_ECHO call %d response wrong: " ! "arg = %s, resp = %s\n", i, echo_arg, *echo_resp); gssrpc_xdr_free(xdr_wrapstring, echo_resp); } *************** *** 323,329 **** if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, ! "RPC_TEST_LENGTHS call %d response wrong\n"); gssrpc_xdr_free(xdr_wrapstring, echo_resp); } --- 323,329 ---- if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, ! "RPC_TEST_LENGTHS call %d response wrong\n", i); gssrpc_xdr_free(xdr_wrapstring, echo_resp); } Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile the program 2. 3. Additional info
Thank you for the bug report. However this bugs should be reported upstream (and fixed by MIT krb5 developers) so everyone could use fixed version (not just Fedora Core users). This bugs are fixed in version 1.3.5 (also could be in earlier releases but I haven't check that).
*** Bug 105838 has been marked as a duplicate of this bug. ***