Package: qxmpp / 1.0.0-5
Patch seriesview the series file
|bump SONAME.patch | (download)||
2 1 + 1 - 0 !
bump soname of the library
|fix segfault on connection error.patch | (download)||
7 3 + 4 - 0 !
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.