]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/CrtLibSupport: fix strcpy
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Apr 2022 11:24:56 +0000 (19:24 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 12 Apr 2022 14:39:01 +0000 (14:39 +0000)
commitfab6285a73c4c73bb131792d0afb20be369082d1
treec122cd7d53e7bef3c70d3021adcb267d80400a2e
parent03951e56457f18b022f574bacdc0cc2acc45dac2
CryptoPkg/CrtLibSupport: fix strcpy

strcpy() returns a pointer to the destination string, AsciiStrCpyS()
does not.  So a simple #define does not work.  Create a function
instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
CryptoPkg/Library/Include/CrtLibSupport.h