Skip to content

Various uninitialized variables and typos #6025

@gojimmypi

Description

@gojimmypi

Version

Latest master branch

Description

AlizTheHax0r on Twitter pointed out several items that need to be reviewed and cleaned up:

1. The symbol redefinition errors - one for THREAD_RETURN and one for INFINITE. I bodged these by removing the offending definitions from Espressif/ESP32/ESP32-SSH-Server/main/ssh_server.h (lines 58 and 66).

2. The uninitialised var is in wolfssh itself - in SendKexInit, privateKey and privateKeyCount on 7836 and 7837 in wolfssh/src/internal.c

3. The 'output' and 'idx' in SendKexDhReply (internal.c:8477) and 'authSz' in SendUserAuthFailure on 11191

4. Found a typo - in CMakeLists.txt:56, is this open-bracket supposed to be there?

5. Is that the correct -D option or should it be LINUX

6. [uninitialized] 'output' and 'idx' in SendKexDhReply (internal.c:8477) and 'authSz' in SendUserAuthFailure on 11191

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions