Skip to content

tls: tls_wrap causes debug assert in vector

Rodrigo Muino Tomonari requested to merge github/fork/kfarnung/tlswrap into master

When using a debug build (on Windows specifically) the error case for tls_wrap causes an assert to fire because the index being passed is outside the bounds of the vector.

The fix is to switch to iterators.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tls

Merge request reports

Loading