diff options
| author | Adam Saponara <as@php.net> | 2023-12-27 14:56:33 -0500 |
|---|---|---|
| committer | Adam Saponara <as@php.net> | 2023-12-29 01:40:40 -0500 |
| commit | c476086e9336b681d365cd18ce1c96135a1ddb31 (patch) | |
| tree | 96987ae5a88cd3824291e6b2ccc5f939ab89bd7b /test/libapt/stringview_test.cc | |
| parent | c555d8f1ae31d1f511bf811640423231b75a8e13 (diff) | |
Prevent infinite loop in `ReadConfigFile`
Break the loop on failure. Without this, the function
goes into an infinite loop if `FName` is a directory.
Diffstat (limited to 'test/libapt/stringview_test.cc')
0 files changed, 0 insertions, 0 deletions
