This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
ggate
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
2
Wiki
Activity
Browse Source
ggated: do not expose stack data in sendfail()
admbugs: 590 Submitted by: Fabian Keil <fk@fabiankeil.de> Obtained from: ElectroBSD
tags/ggatessh-v1.0.0
emaste
6 years ago
parent
f878ea8b9b
commit
11cb9bcea1
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
ggated/ggated.c
+ 1
- 0
ggated/ggated.c
View File
@@ -591,6 +591,7 @@ sendfail(int sfd, int error, const char *fmt, ...)
va_list ap;
ssize_t data;
memset(&sinit, 0, sizeof(sinit));
sinit.gs_error = error;
g_gate_swap2n_sinit(&sinit);
data = g_gate_send(sfd, &sinit, sizeof(sinit), 0);
Write
Preview
Loading…
Cancel
Save