summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fastrpc_apps_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c
index 328dfa0..39c904b 100644
--- a/src/fastrpc_apps_user.c
+++ b/src/fastrpc_apps_user.c
@@ -375,6 +375,7 @@ void *remote_register_fd(int fd, int size) {
static void remote_register_buf_common(void* buf, int size, int fd, int attr) {
int nErr = 0;
VERIFY(!fastrpc_init_once());
+ VERIFYC(NULL != buf, AEE_EBADPARM);
if(fd != -1) {
struct mem_to_fd* tofd;
int fdfound = 0;