From 76f8c51055cb1b69d087b113453764227160bc05 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Feb 2020 22:49:56 -0500 Subject: driver: write & copy modes: pre-allocate a robust-file-copy memory region. --- src/internal/tpax_driver_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/internal') diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h index c99553a..56c40b2 100644 --- a/src/internal/tpax_driver_impl.h +++ b/src/internal/tpax_driver_impl.h @@ -50,6 +50,8 @@ struct tpax_driver_ctx_impl { struct tpax_error_info ** erricap; struct tpax_error_info * erriptr[64]; struct tpax_error_info erribuf[64]; + void * bufaddr; + size_t bufsize; }; struct tpax_unit_ctx_impl { -- cgit v1.2.3