In the `src/parser.c` file `read_cfg` function causes Segmentation fault on wrong or unexpected `cfg` file format. Command used: ```darknet detector train /usr/share/yolo4-data/data/obj.data /usr/share/yolo4-data/cfg/yolov4-obj.cfg /usr/share/yolov4.conv.137 ``` Executed on the ubuntu:24.04 on the docker image/container. As I assume, even with wrong `cfg` file format application must not crash. <img width="3470" height="672" alt="Image" src="https://github.com/user-attachments/assets/60576e8b-3454-486b-8238-f7ed28e5b5c4" /> <img width="3838" height="1862" alt="Image" src="https://github.com/user-attachments/assets/fb67f5b8-edfc-49ec-8410-72ef52d25294" /> <img width="3838" height="316" alt="Image" src="https://github.com/user-attachments/assets/b7254a72-46f6-416b-9b16-afc2e7f9fa1b" /> cfg-file contents: ``` classes = 1 filters = 18 ```