diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-13 14:14:34 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-13 18:42:00 -0600 |
commit | 549c2878f965e5b6cb001ff3c8c5e3122becf8e1 (patch) | |
tree | 4433139a39b18a7802e2212c8c523598b2192780 /lib/libalpm/po/de.po | |
parent | 8186dc11a90dbc310acaad7ee867ee995adbd6ed (diff) | |
download | pacman-549c2878f965e5b6cb001ff3c8c5e3122becf8e1.tar.xz |
Disallow a NULL section in _parseconfig
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>
Diffstat (limited to 'lib/libalpm/po/de.po')
0 files changed, 0 insertions, 0 deletions