Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
podofo
0032-Fix-wrong-use-of-memcpy-instead-of-wmemcpy...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0032-Fix-wrong-use-of-memcpy-instead-of-wmemcpy.patch of Package podofo
Subject: Patch by Francesco Pretto: PdfMemDocument::Load: Fix wrong use of memcpy instead of wmemcpy Url: https://sourceforge.net/p/podofo/code/1903/ --- a/podofo/trunk/src/doc/PdfMemDocument.cpp +++ b/podofo/trunk/src/doc/PdfMemDocument.cpp @@ -271,7 +271,7 @@ { int lLen = wcslen( pszFilename ); m_wchar_pszUpdatingFilename = static_cast<wchar_t *>( podofo_malloc( sizeof( wchar_t ) * ( lLen + 1 ) ) ); - memcpy( m_wchar_pszUpdatingFilename, pszFilename, lLen ); + wmemcpy( m_wchar_pszUpdatingFilename, pszFilename, lLen ); m_wchar_pszUpdatingFilename[lLen] = L'\0'; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor