Dr. David Alan Gilbert (git) writes: > From: Stefan Hajnoczi > > Introduce an API for consuming bytes from a buffer with size checks. > All FUSE operations will be converted to use this safe API instead of > void *inarg. > > Signed-off-by: Stefan Hajnoczi > --- > tools/virtiofsd/buffer.c | 28 ++++++++++++++++++++ > tools/virtiofsd/fuse_common.h | 49 ++++++++++++++++++++++++++++++++++- > 2 files changed, 76 insertions(+), 1 deletion(-) Reviewed-by: Sergio Lopez