863 ciolib_initial_scaling = strtod(argv[i] + 2, NULL);CID 646963: Concurrent data access violations (MISSING_LOCK) >>> Accessing "ciolib_initial_scaling" without holding lock "vstatlock". Elsewhere, "ciolib_initial_scaling" is written to with "vstatlock" held 5 out of 7 times.
408 vstat.scaling = ciolib_initial_scaling;CID 646962: Concurrent data access violations (MISSING_LOCK) >>> Accessing "ciolib_initial_scaling" without holding lock "vstatlock". Elsewhere, "ciolib_initial_scaling" is written to with "vstatlock" held 5 out of 7 times.
43 srand(seed != 0 ? seed : (unsigned int)time(NULL));CID 647057: High impact quality (Y2K38_SAFETY)
A "time_t" value is stored in an integer with too few bits to accommodate it. The expression "time(NULL)" is cast to "unsigned int".
34 listInit(&state.events, 0);CID 647297: Concurrent data access violations (MISSING_LOCK) >>> Accessing "state.events" without holding lock "ciokey_state.mutex". Elsewhere, "ciokey_state.events" is written to with "ciokey_state.mutex" held 6 out of 8 times.
747 FULLPATH(path, prefix, MAX_PATH);CID 648908: Resource leaks (RESOURCE_LEAK)
Ignoring storage allocated by "_fullpath(path, prefix, 4096UL)" leaks it.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,127 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 35:28:23 |
| Calls: | 14,430 |
| Files: | 186,410 |
| D/L today: |
20 files (3,106K bytes) |
| Messages: | 2,552,579 |