diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/corelib/text/qstringconverter.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/text/qstringconverter.cpp b/src/corelib/text/qstringconverter.cpp index 2f6ec42d51c..bf6e776ee0e 100644 --- a/src/corelib/text/qstringconverter.cpp +++ b/src/corelib/text/qstringconverter.cpp @@ -3010,7 +3010,8 @@ const char *QStringConverter::nameForEncoding(QStringConverter::Encoding e) noex \note \a out must be large enough to be able to hold all the decoded data. Use requiredSpace() to determine the maximum size requirement to be able to encode - \a in. + \a in. This function may write to any bytes between \a out and \c{out + + requiredSpace()}, including those past the returned end pointer. \sa requiredSpace() */ @@ -3106,7 +3107,9 @@ const char *QStringConverter::nameForEncoding(QStringConverter::Encoding e) noex \a out needs to be large enough to be able to hold all the decoded data. Use \l{requiredSpace} to determine the maximum size requirements to decode an encoded - data buffer of \c in.size() bytes. + data buffer of \c in.size() bytes. This function may write to any bytes + between \a out and \c{out + requiredSpace()}, including those past the + returned end pointer. \sa requiredSpace */ |
