TODO found Open
/* TODO: permission checking */
- Exclude checks
TODO found Open
/* TODO: permission checking */
- Exclude checks
Checking if unsigned variable r
is less than zero. Open
if (r < 0) return r;
- Read upRead up
- Exclude checks
The unsigned variable r
will never be negative so it is either pointless or an error to check if it is. (detailed CWE explanation)
The function nl_getbuildprop
is never used. Open
int nl_getbuildprop(int prop, void* output, int* size) {
- Read upRead up
- Exclude checks
The function nl_getbuildprop
is never used. (detailed CWE explanation)
The function nl_getpid
is never used. Open
pid_t nl_getpid() {
- Read upRead up
- Exclude checks
The function nl_getpid
is never used. (detailed CWE explanation)
The function nl_getuid
is never used. Open
uid_t nl_getuid() {
- Read upRead up
- Exclude checks
The function nl_getuid
is never used. (detailed CWE explanation)
The function nl_read
is never used. Open
size_t nl_read(int fd, void* buff, size_t count) {
- Read upRead up
- Exclude checks
The function nl_read
is never used. (detailed CWE explanation)
The function nl_write
is never used. Open
size_t nl_write(int fd, const void* buff, size_t count) {
- Read upRead up
- Exclude checks
The function nl_write
is never used. (detailed CWE explanation)
The function nl_getgid
is never used. Open
gid_t nl_getgid() {
- Read upRead up
- Exclude checks
The function nl_getgid
is never used. (detailed CWE explanation)
Checking if unsigned variable r
is less than zero. Open
if (r < 0) return r;
- Read upRead up
- Exclude checks
The unsigned variable r
will never be negative so it is either pointless or an error to check if it is. (detailed CWE explanation)
The function nl_open
is never used. Open
int nl_open(const char* path, int mode) {
- Read upRead up
- Exclude checks
The function nl_open
is never used. (detailed CWE explanation)
The function nl_close
is never used. Open
int nl_close(int fd) {
- Read upRead up
- Exclude checks
The function nl_close
is never used. (detailed CWE explanation)