Ticket #242 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Critical failure in c2s if auth element contains newlines

Reported by: normanr Owned by: smoku
Priority: critical Component: c2s
Version: 2.2.1 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

This is fine:

<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">base64data==</auth>

This causes c2s to crash

<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">base64data==
</auth>

Change History

Changed 3 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

In [653]: Checking return value of gsasl_base64_to/from(). Fixes #242

Note: See TracTickets for help on using tickets.