On Tue, Jul 15, 2008 at 4:16 AM, Matthias Klose <[EMAIL PROTECTED]> wrote:
>  - usr/lib/pkcs11/tpm_stdll/tpm_openssl.c: 
> openssl_write_key/openssl_read_key: fixed buffer for filenames
>  -> in many places, the constant 2048 is used for path lengths (however 
> MAX_PATH currently is
>      4096 on Linux). this should be fixed unless we are sure that all paths 
> used do fit the fixed buffer

I have sent the attached patch to the upstream maintainers, defining a
PATH_MAX constant, and setting it to 4096, if not already defined to
the Linux system PATH_MAX.

I'm placing it here, in case upstream delays and we need to carry this
patch ourself.

:-Dustin


** Attachment added: "opencryptoki.PATH_MAX.patch"
   http://launchpadlibrarian.net/16092319/opencryptoki.PATH_MAX.patch

-- 
main inclusion request: opencryptoki
https://bugs.launchpad.net/bugs/247593
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to