mirror of https://github.com/wolfSSL/wolfssh.git
LoadPublicKeyBuffer() searches for its delimiters only up to the end of the buffer, so a -j file without a final newline is rejected instead of read past. The sample password, public key, and none lists are copied into keyLoadBuf only when they fit. - Add FindDelimiter() in place of the unbounded WSTRCHR() calls - Add CopyToKeyLoadBuf(), which refuses a string with no room for its terminator and still accepts an empty one - Parse a -j file by the bytes actually read, and stop when the read fails - Warn when a -j file's keys are not all loaded - Fix the comment claiming every sample key is ssh-rsa Issue: F-10600, F-10565, F-14765 |
||
|---|---|---|
| .. | ||
| echoserver.c | ||
| echoserver.h | ||
| include.am | ||