Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dep
.idea
proxy-multi.conf
proxy-secret
_codeql_detected_source_root
4 changes: 2 additions & 2 deletions net/net-tcp-rpc-ext-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,8 @@ int tcp_rpcs_compact_parse_execute (connection_job_t C) {
unsigned tag = *(unsigned *)(random_header + 56);

if (tag == 0xdddddddd || ((tag == 0xeeeeeeee || tag == 0xefefefef) && !ext_rand_pad_only)) {
if (tag != 0xdddddddd && allow_only_tls) {
vkprintf (1, "Expected random padding mode\n");
if (tag == 0xdddddddd && allow_only_tls) {
vkprintf (1, "Expected Fake-TLS mode (EE/EF), got random padding mode (DD)\n");
RETURN_TLS_ERROR(default_domain_info);
}
assert (rwm_skip_data (&c->in, 64) == 64);
Expand Down