Author: Chris Hofstaedtler <zeha@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-09-14

--- chromono-1.1.1.orig/src/highscoresscreen.cpp
+++ chromono-1.1.1/src/highscoresscreen.cpp
@@ -43,6 +43,9 @@ HighScoresScreen::HighScoresScreen(Game
 {
     char *p = (char*)textfile.data();
     char *end = p + textfile.size();
+    if (p == NULL) {
+        return;
+    }
     while (p < end) {
         char *end = strchr(p, '\n');
         if (end != NULL) {
