mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
549c2878f9
If we allow _parseconfig to continue processing when section is not defined, then we have the potential to segfault during strcmp calls. This is no good. For some reason, we had existing logic that tested this case but only if it was processing and 'Include' directive. Expand the check to check for a NULL section in all cases, and print an error message if this is the case. Reported here: http://bbs.archlinux.org/viewtopic.php?id=42235 Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
pacman | ||
util |