Benign Download

readdir.3c

Code embeds cleartext HTTP URL literald_name strcmp directory filter
SHA-2567a2cae03b3287ca349f3d5c6fa4bcf49401319c37f7400b7a8756b305b3bb060
MaleculeH₂(CmF)

Evidence

Code embeds cleartext HTTP URL literal lines 2–14
2:4… Sun Microsystems, Inc. gratefully acknowledges The Open Group for
3.\" permission to reproduce portions of its copyrighted documentation.
4.\" Original documentation from The Open Group can be obtained online at
5.\" http://www.opengroup.org/bookstore/.
6.\"
7.\" The Institute of Electrical and Electronics Engineers and The Open
8.\" Group, have given us permission to reprint portions of their
9.\" documentation.
10.\"
11.\" In the following statement, the phrase ``this text'' refers to portions
12.\" of the system documentation.
13.\"
14.\" Portions of this text are re …
English function-word token "with" lines 29–32
29:4… You may not use this file except in compliance with the License.
30.\"
31.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
32.\" or http://www.ope …
English function-word token "that" lines 114–119
114:4… pointer returned by
115.Fn readdir
116points to data that can be overwritten by another call to
117.Fn readdir
118on the same directory stream.
119It will not be …
d_name strcmp directory filter lines 301–306
301:17… if ((dp = readdir(dirp)) != NULL) {
302 if (strcmp(dp->d_name, arg) != 0)
303 continue;
304
305 (void) printf("found %s\en", arg);
306 …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.