nscd: Typo inside comment in netgroup cache
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Testing passed
|
Commit Message
Reported-by: Jonathan Wakely <jwakely@redhat.com>
---
nscd/netgroupcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: ebfd73a80f15559fe59fee32a7844c6b8fa99576
Comments
On 30/04/24 07:32, Florian Weimer wrote:
> Reported-by: Jonathan Wakely <jwakely@redhat.com>
>
Ok.
> ---
> nscd/netgroupcache.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c
> index e8fe041846..4b35498e3f 100644
> --- a/nscd/netgroupcache.c
> +++ b/nscd/netgroupcache.c
> @@ -522,7 +522,7 @@ addinnetgrX (struct database_dyn *db, int fd, request_header *req,
> if (__glibc_unlikely (dataset == NULL))
> {
> cacheable = false;
> - /* The alloca is safe because nscd_run_worker verfies that
> + /* The alloca is safe because nscd_run_worker verifies that
> key_len is not larger than MAXKEYLEN. */
> dataset = alloca (sizeof (*dataset) + req->key_len);
> }
>
> base-commit: ebfd73a80f15559fe59fee32a7844c6b8fa99576
>
@@ -522,7 +522,7 @@ addinnetgrX (struct database_dyn *db, int fd, request_header *req,
if (__glibc_unlikely (dataset == NULL))
{
cacheable = false;
- /* The alloca is safe because nscd_run_worker verfies that
+ /* The alloca is safe because nscd_run_worker verifies that
key_len is not larger than MAXKEYLEN. */
dataset = alloca (sizeof (*dataset) + req->key_len);
}