andrewkirillov-ibm
|
0b3b61cc76
|
os400: Fix IBMi EBCDIC conversion of arguments
- Fix the length of strings passed to iconv_open.
IBM's iconv_open expects parameters to be a pointer to a 32 byte
character array with the unused fields set to 0.
Prior to this change, since 8c62479a (precedes 8.11.0), it was
incorrectly passed pointers to smaller length const strings and curl
would fail with error "blank argument where content is expected".
Reported-by: Andrew Kirillov
Ref: https://www.ibm.com/docs/en/i/7.5?topic=ssw_ibm_i_75/apis/iconvopn.html
Fixes https://github.com/curl/curl/issues/15570
Closes https://github.com/curl/curl/pull/15574
|
2024-11-13 18:21:29 -05:00 |
|