fossil 2.22 cannot open repository with empty `.fossil-settings\empty-dirs`
(1) By DRON666 on 2023-06-09 19:54:55 [source]
A bug was introduced in f12609fc: checking for zEmptyDirs!=0
is not enough because db_get
can return an empty string and glob_create
return 0 for such strings and null pointer dereference occurs at pGlob->nPattern
.
(2) By Stephan Beal (stephan) on 2023-06-10 09:04:32 in reply to 1 [link] [source]
checking for zEmptyDirs!=0 is not enough because db_get can return an empty string and glob_create return 0 for such strings
That is now resolved in the trunk. Thank you for the report!