patch-src_rpcb_svc_com_c 589 B

1234567891011121314151617181920
  1. --- rpcbind-0.2.3.orig/src/rpcb_svc_com.c 2015-04-27 16:07:43.000000000 +0200
  2. +++ rpcbind-0.2.3/src/rpcb_svc_com.c 2015-11-29 16:56:25.496204447 +0100
  3. @@ -1274,10 +1274,17 @@ handle_reply(int fd, SVCXPRT *xprt)
  4. a.rmt_localvers = fi->versnum;
  5. xprt_set_caller(xprt, fi);
  6. +#if defined(SVC_XP_AUTH)
  7. + SVC_XP_AUTH(xprt) = svc_auth_none;
  8. +#else
  9. xprt->xp_auth = &svc_auth_none;
  10. +#endif
  11. svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) &a);
  12. +#if !defined(SVC_XP_AUTH)
  13. SVCAUTH_DESTROY(xprt->xp_auth);
  14. xprt->xp_auth = NULL;
  15. +#endif
  16. +
  17. done:
  18. if (buffer)
  19. free(buffer);