CC: | "lmasarati [...] hotmail.com" <lmasarati [...] hotmail.com> |
Subject: | CryptProtectData code returns buffer overflow error |
Date: | Fri, 25 Jan 2019 20:01:48 +0000 |
To: | "bug-Win32-CryptData [...] rt.cpan.org" <bug-Win32-CryptData [...] rt.cpan.org> |
From: | "Stum, Matt" <mstum [...] bsu.edu> |
Using the sample code CryptProtectData (and every alteration I have tried), I get the following error:
Win32::API::Call: parameter 7 had a buffer overflow at C:/Perl64/site/lib/Win32/CryptData.pm line 138.
I have not managed to make a working call.
Environment information:
OS: Windows Server 2012 R2
perl -v :
This is perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2015, Larry Wall
Binary build 2002 [299195] provided by ActiveState http://www.ActiveState.com
Built Jul 20 2015 13:17:51
Win32-CryptData
Perl wrapper for Win32 CryptProtectData and CryptUnprotectData functions.
Version: 0.02
Released: 2004-08-12
Author: Luigino Masarati <lmasarati@hotmail.com>
CPAN: http://search.cpan.org/dist/Win32-CryptData-0.02/