[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] Fix incorrectly passed X11 request screen number
[Thread Prev] | [Thread Next]
- Subject: [PATCH 0/4] Fix incorrectly passed X11 request screen number
- From: Alan Dunn <amdunn@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 19 Apr 2014 15:29:22 -0500
- To: libssh@xxxxxxxxxx
- Cc: Alan Dunn <amdunn@xxxxxxxxx>
Hi folks, I noticed that X11 request screen numbers show up in reverse byte order on the server from the client. The following patch set first corrects the error and then adds enough functionality to be able to test that the fix works. Alan Dunn (4): messages: Add missing ntohl on X11 request screen number tests: Add port option to torture_ssh_session tests: Add ssh server setup functionality tests: Add torture_server test src/messages.c | 4 +- tests/client/torture_forward.c | 2 +- tests/client/torture_request_env.c | 2 +- tests/client/torture_sftp_dir.c | 2 +- tests/client/torture_sftp_read.c | 2 +- tests/torture.c | 61 ++++++++++++ tests/torture.h | 16 +++ tests/unittests/CMakeLists.txt | 4 + tests/unittests/torture_pki.c | 6 +- tests/unittests/torture_server.c | 193 ++++++++++++++++++++++++++++++++++++ 10 files changed, 282 insertions(+), 10 deletions(-) create mode 100644 tests/unittests/torture_server.c -- 1.7.9.5
[PATCH 1/4] messages: Add missing ntohl on X11 request screen number | Alan Dunn <amdunn@xxxxxxxxx> |
[PATCH 2/4] tests: Add port option to torture_ssh_session | Alan Dunn <amdunn@xxxxxxxxx> |
[PATCH 3/4] tests: Add ssh server setup functionality | Alan Dunn <amdunn@xxxxxxxxx> |
[PATCH 4/4] tests: Add torture_server test | Alan Dunn <amdunn@xxxxxxxxx> |