mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
g10: Fix parse_ring_trust.
* g10/parse-packet.c (parse_ring_trust): Fix condition. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
0dec0cc281
commit
256e861bce
@ -2948,7 +2948,7 @@ parse_ring_trust (parse_packet_ctx_t ctx, unsigned long pktlen)
|
|||||||
if (namelen && pktlen)
|
if (namelen && pktlen)
|
||||||
{
|
{
|
||||||
rt.url = xtrymalloc (namelen + 1);
|
rt.url = xtrymalloc (namelen + 1);
|
||||||
if (rt.url)
|
if (!rt.url)
|
||||||
{
|
{
|
||||||
err = gpg_error_from_syserror ();
|
err = gpg_error_from_syserror ();
|
||||||
goto leave;
|
goto leave;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user