Commit Graph

8 Commits

Author SHA1 Message Date
6579e9f565 Fix: Pass valid buffer to recv() instead of NULL
Valgrind reports:
  Syscall param socketcall.recvfrom(buf) points to unaddressable byte(s)
  at recv (recv.c:28)
  by xmppclient_end_session (xmppclient.c:57)
  Address 0x0 is not stack'd, malloc'd or (recently) free'd

The recv() call was passing NULL as buffer, which is invalid.
Now using a local char variable as discard buffer.
2025-12-25 20:42:32 +03:00
James Booth
ed75087e44 Minor code style changes 2016-11-08 23:17:59 +00:00
James Booth
6afa417667 Added license 2015-06-01 00:38:11 +01:00
James Booth
23cbdc9013 Handle shutdown 2015-05-24 00:55:39 +01:00
James Booth
50cd28a977 Added password primer 2015-05-16 03:03:24 +01:00
James Booth
34aca16d4a Set auth properties on XMPPClient 2015-05-15 00:58:34 +01:00
James Booth
39fe147a8a Tidied socket reads/writes 2015-05-12 00:15:52 +01:00
James Booth
d392c77b03 Removed threads 2015-05-11 23:44:43 +01:00