9948716be851e87b7efd9277603bc2fd06159d55
Initialize *gen to NO_GENERATION at the start of file_tree_read so that error paths (FILETREE_BADPATH, FILETREE_NOENT, FILETREE_ISDIR) have a well-defined value. Previously, when file_tree_read failed, gen was uninitialized, causing the assertion in process_client_read to fire. The assertion checking gen != NO_GENERATION before the error check was removed since: 1. On error paths, gen is not used 2. On success paths, the assertion at line 482 already validates gen
Languages
C
98.4%
Shell
1%
Zig
0.4%
Batchfile
0.2%