aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-08-17 14:05:01 +0200
committerAndreas Schwab <schwab@suse.de>2019-06-04 14:03:04 +0200
commit4802be92c891903caaf8cae47f685da6f26d4b9a (patch)
treea50b1e1defaf91e887792bf7ab7c6d43b0a6ac85 /sysdeps/s390
parentdc91a19e6f71e1523f4ac179191a29b2131d74bb (diff)
downloadglibc-4802be92c891903caaf8cae47f685da6f26d4b9a.tar
glibc-4802be92c891903caaf8cae47f685da6f26d4b9a.tar.gz
glibc-4802be92c891903caaf8cae47f685da6f26d4b9a.tar.bz2
glibc-4802be92c891903caaf8cae47f685da6f26d4b9a.zip
Fix iconv buffer handling with IGNORE error handler (bug #18830)
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/multiarch/gconv_simple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/s390/multiarch/gconv_simple.c b/sysdeps/s390/multiarch/gconv_simple.c
index ce7bcf541e..2861b6dacb 100644
--- a/sysdeps/s390/multiarch/gconv_simple.c
+++ b/sysdeps/s390/multiarch/gconv_simple.c
@@ -404,7 +404,7 @@ ICONV_VX_NAME (internal_ucs4le_loop) (struct __gconv_step *step,
const unsigned char **inptrp,
const unsigned char *inend,
unsigned char **outptrp,
- unsigned char *outend,
+ const unsigned char *outend,
size_t *irreversible)
{
const unsigned char *inptr = *inptrp;
@@ -504,7 +504,7 @@ ICONV_VX_NAME (ucs4_internal_loop) (struct __gconv_step *step,
const unsigned char **inptrp,
const unsigned char *inend,
unsigned char **outptrp,
- unsigned char *outend,
+ const unsigned char *outend,
size_t *irreversible)
{
int flags = step_data->__flags;
@@ -631,7 +631,7 @@ ICONV_VX_NAME (ucs4le_internal_loop) (struct __gconv_step *step,
const unsigned char **inptrp,
const unsigned char *inend,
unsigned char **outptrp,
- unsigned char *outend,
+ const unsigned char *outend,
size_t *irreversible)
{
int flags = step_data->__flags;