mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
41e57fccd2
Function `SetSubtaskInfo` takes only chars as a valid book. Since filename can be `nil` (not a char) the crash would happen. This Change avoids the crash by using a char type nil value. See: `int SetSubtaskInfo(int task, int subtask, const char *name, const char *book);` Fixes #8053 Fixes #8392 too Fixes #8743 last issue