diff options
author | Andreas Schwab <schwab@suse.de> | 2015-08-17 14:05:01 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2019-06-04 14:03:04 +0200 |
commit | 4802be92c891903caaf8cae47f685da6f26d4b9a (patch) | |
tree | a50b1e1defaf91e887792bf7ab7c6d43b0a6ac85 /sysdeps/s390 | |
parent | dc91a19e6f71e1523f4ac179191a29b2131d74bb (diff) | |
download | glibc-4802be92c891903caaf8cae47f685da6f26d4b9a.tar.gz glibc-4802be92c891903caaf8cae47f685da6f26d4b9a.tar.xz 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.c | 6 |
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; |