Use sliced instead of mid in QCoapInternalReply::createFromFrame


Thanks to the bound check in the previous patch, this is now safe.

Task-number: QTBUG-149345
Pick-to: 6.12 6.11 6.8
Change-Id: I09922566e5bc4939e24255485faf6510d8cef013
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit98f07776a22c6eb463ad6695f215a9cc0b86a1e5
parent573035207dbe963b6a73ba58e9b581c299bac73c
authorMate Barany <mate.barany@qt.io>
committerMate Barany <mate.barany@qt.io>
commit timeTue, 1 Sep 2026 14:38:39 +0000