libyang BUGFIX avoid invalid parameters for memmove and memcpy
diff --git a/src/in.c b/src/in.c
index 7d9d046..359e407 100644
--- a/src/in.c
+++ b/src/in.c
@@ -356,7 +356,9 @@
         return LY_EDENIED;
     }
 
-    memcpy(buf, in->current, count);
+    if (count) {
+        memcpy(buf, in->current, count);
+    }
     in->current += count;
     return LY_SUCCESS;
 }