Yeah I see that strcpy is redefined with their own definition.

thanks.

-Ober

On Thu, 12 Jan 2006, Jeffrey Altman wrote:

Date: Thu, 12 Jan 2006 20:11:33 -0500
From: Jeffrey Altman <[EMAIL PROTECTED]>
To: ober <[EMAIL PROTECTED]>
Cc: [email protected]
Subject: Re: [OpenAFS-devel] Incorrect uses of strcpy?

ober wrote:
I found the following fragment in
        } else {
                strcpy(mountRoot, sizeof(cm_mountRoot), "/afs");
                cm_mountRootLen = 4;
        }

in line 94 of src/WINNT/client_config/afsmap.c
Is it correct to call strcpy with 3 options?

Just curious as that did not look right.

-Ober

That would not be correct.  However, I would not worry.
That file is not compiled as part of building openafs for windows.

Jeffrey Altman


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to