yl_tags: keeps reference to a file descriptor but never uses it #6344

Closed
opened 2024-02-24 19:01:26 +00:00 by whosit · 3 comments
Member

It also keeps that file open after using safe_file_write(), which deletes it...

3a18ccea0f/storage.lua (L3)
storage_files can just be removed.

It also keeps that file open after using `safe_file_write()`, which deletes it... https://gitea.your-land.de/your-land/yl_tags/src/commit/3a18ccea0f089c44603e92a7a89c9b5c358ab2fb/storage.lua#L3 `storage_files` can just be removed.
whosit added the
1. kind/bug
label 2024-02-24 19:01:26 +00:00
whosit self-assigned this 2024-02-24 19:01:43 +00:00
whosit added the
4. step/ready to QA test
label 2024-02-24 19:39:19 +00:00
Author
Member

fixed and added some logging, also crash on db corruption...
ef73e80944

fixed and added some logging, also crash on db corruption... https://gitea.your-land.de/your-land/yl_tags/commit/ef73e8094445ae44372f39eda6f2bdb1b5741a33
AliasAlreadyTaken added this to the 1.1.123 milestone 2024-02-24 19:58:20 +00:00

QA

No more open filedescriptor, error messages when DB is missing or misformatted: OK

QA No more open filedescriptor, error messages when DB is missing or misformatted: OK
AliasAlreadyTaken added the
ugh/QA OK
label 2024-02-26 14:37:46 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2024-03-28 22:48:35 +00:00
Member

assuming this is live

assuming this is live
flux closed this issue 2024-03-28 22:48:42 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6344
No description provided.