mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Bugfix in photoid.c and keyserver.c
Properly handle permission/ownership checks on files that are shared (for example /usr/local/lib/gnupg/idea)
This commit is contained in:
parent
024cc59975
commit
4dde9482c2
8 changed files with 73 additions and 28 deletions
|
@ -236,10 +236,7 @@ void show_photo(const struct user_attribute *attr,PKT_public_key *pk)
|
|||
command[PHOTO_COMMAND_MAXLEN-1]='\0';
|
||||
|
||||
if(exec_write(&spawn,NULL,command,1,1)!=0)
|
||||
{
|
||||
exec_finish(spawn);
|
||||
goto fail;
|
||||
}
|
||||
goto fail;
|
||||
|
||||
fwrite(attr->data,attr->len,1,spawn->tochild);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue