This repository has been archived by the owner on Feb 21, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SctpAssociation: fix memory violation (versatica#943)
* SctpAssociation: fix memory violation ...when sctp debug tag is set, for SCTP_ASSOC_CHANGE notification. Closes versatica#904 We were taking the 'sn_assoc_change.sac_info' length wrongly, unlike for the other notifications we are logging. - usrsctp code where the notification is created: https://github.com/sctplab/usrsctp/blob/master/usrsctplib/netinet/sctputil.c#L3296 - Example code where this length is retrieved correctly: https://github.com/sctplab/usrsctp/blob/master/programs/rtcweb.c#L871 * Update CHANGELOG * normalize CHANGELOG * be consistent with struct size retrieval
- Loading branch information