index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/signing.c | 5 |
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c index f9569ac5..30d057a3 100644 --- a/lib/libalpm/signing.c +++ b/lib/libalpm/signing.c @@ -478,6 +478,11 @@ static int email_from_uid(const char *uid, char **email) { char *start, *end; + if (uid == NULL) { + email = NULL; + return -1; + } + start = strrchr(uid, '<'); if(start) { end = strrchr(start, '>'); |