mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
doc: Typo fixes.
--
This commit is contained in:
parent
42785d7c8a
commit
ec311425ca
@ -329,8 +329,8 @@ void setup_libgcrypt_logging (void);
|
|||||||
void xoutofcore (void);
|
void xoutofcore (void);
|
||||||
|
|
||||||
/* Wrapper aroung gpgrt_reallocarray. Uses the gpgrt alloc function
|
/* Wrapper aroung gpgrt_reallocarray. Uses the gpgrt alloc function
|
||||||
* which are redirect to the Libgcrypt versions via
|
* which redirects to the Libgcrypt versions via
|
||||||
* init_common_subsystems. Thus they can be used interchangeable with
|
* init_common_subsystems. Thus this can be used interchangeable with
|
||||||
* the other alloc functions. */
|
* the other alloc functions. */
|
||||||
void *xreallocarray (void *a, size_t oldnmemb, size_t nmemb, size_t size);
|
void *xreallocarray (void *a, size_t oldnmemb, size_t nmemb, size_t size);
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ extract (estream_t stream, const char *dirname, tarinfo_t info,
|
|||||||
|| !strncmp (hdr->name, "../", 3)
|
|| !strncmp (hdr->name, "../", 3)
|
||||||
|| (n >= 3 && !strcmp (hdr->name+n-3, "/.." )))
|
|| (n >= 3 && !strcmp (hdr->name+n-3, "/.." )))
|
||||||
{
|
{
|
||||||
log_error ("filename '%s' as suspicious parts - not extracting\n",
|
log_error ("filename '%s' has suspicious parts - not extracting\n",
|
||||||
hdr->name);
|
hdr->name);
|
||||||
return gpg_error (GPG_ERR_INV_NAME);
|
return gpg_error (GPG_ERR_INV_NAME);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user