Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115738862
D39947.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
498 B
Referenced Files
None
Subscribers
None
D39947.diff
View Options
diff --git a/contrib/pf/authpf/authpf.c b/contrib/pf/authpf/authpf.c
--- a/contrib/pf/authpf/authpf.c
+++ b/contrib/pf/authpf/authpf.c
@@ -566,9 +566,8 @@
syslog(LOG_INFO, "denied access to %s: not listed in %s",
pw->pw_name, PATH_ALLOWFILE);
- /* reuse buf */
- sprintf(buf, "%s", "\n\nSorry, you are not allowed to use this facility!\n");
- fputs(buf, stdout);
+ fputs("\n\nSorry, you are not allowed to use this facility!\n",
+ stdout);
}
fflush(stdout);
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 28, 10:56 PM (7 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17834612
Default Alt Text
D39947.diff (498 B)
Attached To
Mode
D39947: authpf: do not sprintf to a null pointer
Attached
Detach File
Event Timeline
Log In to Comment