[pacman-dev] [PATCH 1/4] check dep versions before calling strcmp
Fixes a segfault when trying to remove an assumeinstalled
option without a version.
Signed-off-by: Andrew Gregory
assumeinstalled options are used as provisions for which MOD_EQ and
MOD_ANY are the only meaningful settings.
Signed-off-by: Andrew Gregory
All other option setters copy their input.
Signed-off-by: Andrew Gregory
alpm_depend_t is an exposed data type. Front-ends may opt for alloc'ing
one and filling the fields manually, but alpm's _alpm_hash_sdbm is not
exposed, making it impossible for them to fill in the name_hash field.
Signed-off-by: Andrew Gregory
On 17/07/15 09:05, Andrew Gregory wrote:
Fixes a segfault when trying to remove an assumeinstalled option without a version.
Signed-off-by: Andrew Gregory
Ack.
On 17/07/15 09:05, Andrew Gregory wrote:
assumeinstalled options are used as provisions for which MOD_EQ and MOD_ANY are the only meaningful settings.
Signed-off-by: Andrew Gregory
---
Ack.
On 17/07/15 09:05, Andrew Gregory wrote:
All other option setters copy their input.
Signed-off-by: Andrew Gregory
Seems reasonable. A
participants (2)
-
Allan McRae
-
Andrew Gregory