QGeoAreaMonitorSource: fix read past the end of the buffer


The requestUpdate() method takes a `const char *` which is supposed to
be the signal signature generated by the SIGNAL() macro.
The code was checking for a nullptr, but after that it was
unconditionally passing `signal + 1` to
QMetaObject::normalizedSignature(). This was leading to reading past
the end of the buffer if someone passes a buffer which is 1 char long
only.

Task-number: QTBUG-135463
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: I797bec09f17935aa147c291f6e744478aa5957b3
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
commitca8f0ed0248051a2f247a95440815a71e224d5f6
parentf34ceb6ae2886772e0b668b971ec1ec84f47c223
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 15 Apr 2025 10:06:45 +0200