mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-02 02:49:18 +00:00
library: Return if Length == 0 in DumpData
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user