Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 409420 Details for
Bug 544388
net-misc/telnet-bsd fails to compile with format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
obvious format security patch
telnet-bsd-1.2-format-security.patch (text/plain), 1.32 KB, created by
Michael Weber (RETIRED)
on 2015-08-19 09:18:30 UTC
(
hide
)
Description:
obvious format security patch
Filename:
MIME Type:
Creator:
Michael Weber (RETIRED)
Created:
2015-08-19 09:18:30 UTC
Size:
1.32 KB
patch
obsolete
>--- telnet-bsd-1.2/telnetd/utility.c >+++ telnet-bsd-1.2/telnetd/utility.c >@@ -897,17 +897,17 @@ > case ENV_VAR: > if (pointer[1] == TELQUAL_SEND) > goto def_case; >- netoprintf("\" VAR " + noquote); >+ netoprintf("%s", "\" VAR " + noquote); > noquote = 2; > break; > > case ENV_VALUE: >- netoprintf("\" VALUE " + noquote); >+ netoprintf("%s", "\" VALUE " + noquote); > noquote = 2; > break; > > case ENV_ESC: >- netoprintf("\" ESC " + noquote); >+ netoprintf("%s", "\" ESC " + noquote); > noquote = 2; > break; > >--- telnet-bsd-1.2/telnet/utilities.c >+++ telnet-bsd-1.2/telnet/utilities.c >@@ -739,22 +739,22 @@ > case ENV_VAR: > if (pointer[1] == TELQUAL_SEND) > goto def_case; >- fprintf(NetTrace, "\" VAR " + noquote); >+ fprintf(NetTrace, "%s", "\" VAR " + noquote); > noquote = 2; > break; > > case ENV_VALUE: >- fprintf(NetTrace, "\" VALUE " + noquote); >+ fprintf(NetTrace, "%s", "\" VALUE " + noquote); > noquote = 2; > break; > > case ENV_ESC: >- fprintf(NetTrace, "\" ESC " + noquote); >+ fprintf(NetTrace, "%s", "\" ESC " + noquote); > noquote = 2; > break; > > case ENV_USERVAR: >- fprintf(NetTrace, "\" USERVAR " + noquote); >+ fprintf(NetTrace, "%s", "\" USERVAR " + noquote); > noquote = 2; > break; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 544388
:
399668
| 409420