Fix FTBFS due to invalid pointer in iconv function

Signed-off-by: François Andriot <francois.andriot@thalesgroup.com>
(cherry picked from commit eb8f32b893)
r14.1.x r14.1.2
François Andriot 7 months ago committed by Slávek Banko
parent 061a1af5ad
commit 4b96200621
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -132,7 +132,7 @@ xcfString(uint32_t ptr,uint32_t *after)
else else
while(1) { while(1) {
char *buffer = xcfmalloc(targetsize) ; char *buffer = xcfmalloc(targetsize) ;
const char *inbuf = utf8master ; char *inbuf = utf8master ;
char *outbuf = buffer ; char *outbuf = buffer ;
size_t incount = length ; size_t incount = length ;
size_t outcount = targetsize ; size_t outcount = targetsize ;

Loading…
Cancel
Save