Package: qxmpp / 1.0.0-5

Metadata

Package Version Patches format
qxmpp 1.0.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
bump SONAME.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 bump soname of the library
fix segfault on connection error.patch | (download)

src/client/QXmppOutgoingClient.cpp | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

 fix potential segfault on connection error
 `socketError()` calls `connectToNextDNSHost()` which might cause
 `socketError()` synchronously (and recursively), thus not giving a
 change for updating `nextSrvRecordIdx`.
 .
 Overall, this results in attempting to connect to the same DNS record
 recursively, until the stack is exhausted, resulting in SEGFAULT.
 .
 One of the solutions (done in this commit) is to increment the record
 index _before_ attempting to connect.