[qt/qt/qtserialport]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtserialport
Pushed by mirror-service into branch '6.11'.
Changed from 05f8798eda949266fc23101e6855aaa2c375db94 to 6e84cbdef46f3d14f2fc9d3f4b6ee5e12998d225
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 2b2aeb7c89a2936dc834f40d4fed8829fdf81e89 by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 06/08/2026 at 11:03..
QSerialPortInfo FreeBSD: improve error handling in OID parsing

The sysctl() call can theoretically return a zero length or a length
that does not represent a whole amount of ints. In such case, the next
sysctl() would have accessed the first element of an empty array or
passed an incorrect length due to truncating. In both cases that could
lead to accessing the memory past the end of the allocated QList.

Note that it is unlikely to happen in practice, unless there's a bug
in the kernel, because on success at least one component should be
available.

Still, adding these guards won't hurt. But I'm not picking this patch
to ESM branches.

Task-number: QTBUG-144899
Pick-to: 6.8
Change-Id: I95d00da9eaa2e448283f810ae67bba48cf822af1
Reviewed-by: Tatiana Borisova <[email protected]>
(cherry picked from commit ef91504c20fc99a84f813c84c4380242279aae4b)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit ead68606c3eb5d0005d0d4a7ddd684f5a9def4ea)
https://invent.kde.org/qt/qt/qtserialport/-/commit/2b2aeb7c89a2936dc834f40d4fed8829fdf81e89

Git commit 6e84cbdef46f3d14f2fc9d3f4b6ee5e12998d225 by Qt Cherry-pick Bot (on behalf of Ivan Solovev) on 06/08/2026 at 11:03..
QSerialPort docs: clarify negative values in set{Read,Write}BufferSize

Generally speaking, passing negative value as a buffer size does not
make sense. However, in practice negative parameters are handled
differently for read and write buffers.
Document it to avoid confusion.

Task-number: QTBUG-144899
Change-Id: Ic608ebb00b9fe44c1e53f61d9e7172907b9e3110
Reviewed-by: Tatiana Borisova <[email protected]>
(cherry picked from commit 37ab9f41f0d164791757aa050e114b537c34fda1)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 233a80b14d246f33613ba1e389ad2409a2e15281)
https://invent.kde.org/qt/qt/qtserialport/-/commit/6e84cbdef46f3d14f2fc9d3f4b6ee5e12998d225
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.