[PATCH] rpcgen: make error() helper into a varargs func
Florian Weimer
fweimer@redhat.com
Sun Jun 25 16:14:00 GMT 2017
On 02/28/2017 09:20 PM, Mike Frysinger wrote:
> A minor clean up to the code to avoid fixed buffers for output messages
> and to make error() more useful internally.
> ---
> sunrpc/proto.h | 2 +-
> sunrpc/rpc_parse.c | 13 ++-----------
> sunrpc/rpc_scan.c | 13 +++----------
> sunrpc/rpc_util.c | 28 ++++++++++++----------------
> sunrpc/rpc_util.h | 2 +-
> 5 files changed, 19 insertions(+), 39 deletions(-)
Patch is okay (with a ChangeLog entry). This seems to fix a
user-visible bug (sprintf crash), so it probably deserves a bug in Bugzilla.
Thanks,
Florian
More information about the Libc-alpha
mailing list