Opened 6 years ago
Closed 6 years ago
#2174 closed defect (fixed)
Fix out of bound error when enabling GnuTLS
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.9 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
When using GnuTLS, tls_init() will save cipher suite info to local array and might raise out of bound error if GnuTLS has more supported cipher suite then the maximum array size (MAX_CIPHERS=100).
This patch will not allow adding more cipher once the local array is full.
Thanks to Hugo Lefeuvre for the report and initial patch.
Change History (1)
comment:1 Changed 6 years ago by riza
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5929: