Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/client/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ static int ParseRFC6187(const byte* in, word32 inSz, byte** leafOut,

/* Skip the name */
ato32(in, &l);
if (l > inSz - sizeof(word32))
return WS_BUFFER_E;

m += l + sizeof(word32);

/* Get the cert count */
Expand Down
Loading