diff options
-rw-r--r-- | AK/LogStream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/LogStream.h b/AK/LogStream.h index e0fa4e9ce3..63e728d960 100644 --- a/AK/LogStream.h +++ b/AK/LogStream.h @@ -85,6 +85,8 @@ public: inline const LogStream& operator<<(const LogStream& stream, const char* value) { + if (!value) + return stream << "(null)"; int length = 0; const char* p = value; while (*(p++)) |