mirror of https://github.com/koreader/koreader
Fix Pocketbook crashes when filename is nil (#8823)
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 issuereviewable/pr8863/r1
parent
d2ee9d8d4e
commit
41e57fccd2
Loading…
Reference in New Issue