Text   |  XML   |  ReML   |   Visible Warnings:

Varargs Function Cast  at quota-fs.c:344

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

do_rquota_user

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/plugins/quota/quota-fs.c)expand/collapse
Show more  
 331          /* Establish some RPC credentials */
 332          auth_destroy(cl->cl_auth);
 333          cl->cl_auth = authunix_create_default();
 334   
 335          /* make the rquota call on the remote host */
 336          args.gqa_pathp = path;
 337          args.gqa_uid = root->uid;
 338   
 339          timeout.tv_sec = RQUOTA_GETQUOTA_TIMEOUT_SECS;
 340          timeout.tv_usec = 0;
 341          call_status = clnt_call(cl, RQUOTAPROC_GETQUOTA,
 342                                  (xdrproc_t)xdr_getquota_args, (char *)&args,
 343                                  (xdrproc_t)xdr_getquota_rslt, (char *)&result,
 344                                  timeout);
 345           
 346          /* the result has been deserialized, let the client go */
 347          auth_destroy(cl->cl_auth);
 348          clnt_destroy(cl);
 349   
 350          if (call_status != RPC_SUCCESS) {
 351                  const char *rpc_error_msg = clnt_sperrno(call_status);
 352   
 353                  i_error("quota-fs: remote rquota call failed: %s",
 354                          rpc_error_msg);
Show more  




Change Warning 7007.24372 : Varargs Function Cast

Because they are very similar, this warning shares annotations with warning 7007.24373.

Priority:
State:
Finding:
Owner:
Note: