diff --git a/library/dumper.cpp b/library/dumper.cpp index c492677..6fcccf0 100644 --- a/library/dumper.cpp +++ b/library/dumper.cpp @@ -39,6 +39,9 @@ void WriteRaw(const char *format, ...) void DumpData(const char *Description, void *Address, unsigned long Length) { + if (Length == 0) + return; + SmartLock(DumperLock); WriteRaw("-------------------------------------------------------------------------\n"); unsigned char *AddressChar = (unsigned char *)Address;