Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144375946
D45438.id139303.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
259 B
Referenced Files
None
Subscribers
None
D45438.id139303.diff
View Options
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c
--- a/usr.bin/comm/comm.c
+++ b/usr.bin/comm/comm.c
@@ -89,7 +89,7 @@
argc -= optind;
argv += optind;
- if (argc != 2)
+ if (argc != 2 || !argv[0] || !argv[1])
usage();
fp1 = file(argv[0]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 3:16 AM (1 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28530158
Default Alt Text
D45438.id139303.diff (259 B)
Attached To
Mode
D45438: comm: handle input arguments being NULL
Attached
Detach File
Event Timeline
Log In to Comment