newland/src/fs.c
Either the condition src!=NULL
is redundant or there is possible null pointer dereference: src. Wontfix
Wontfix
strcpy((char*)mp->source, src);
- Read upRead up
- Exclude checks
newland/src/fs.c on lines 231..231
Either the condition src!=NULL
is redundant or there is possible null pointer dereference: src. (detailed CWE explanation)
The function fs_get
is never used. Invalid
Invalid
fs_t* fs_get(size_t i) {
- Read upRead up
- Exclude checks
The function fs_get
is never used. (detailed CWE explanation)
The function mountpoint_destroy
is never used. Invalid
Invalid
int mountpoint_destroy(const char* target) {
- Read upRead up
- Exclude checks
The function mountpoint_destroy
is never used. (detailed CWE explanation)
The function mountpoint_count
is never used. Invalid
Invalid
size_t mountpoint_count() {
- Read upRead up
- Exclude checks
The function mountpoint_count
is never used. (detailed CWE explanation)
The function mountpoint_create
is never used. Invalid
Invalid
int mountpoint_create(fs_t** fsptr, const char* src, const char* target, unsigned long flags, const void* data) {
- Read upRead up
- Exclude checks
The function mountpoint_create
is never used. (detailed CWE explanation)
The function unregister_fs
is never used. Invalid
Invalid
int unregister_fs(const char* name) {
- Read upRead up
- Exclude checks
The function unregister_fs
is never used. (detailed CWE explanation)
The function fs_node_ioctl
is never used. Invalid
Invalid
int fs_node_ioctl(fs_node_t** nodeptr, int req, ...) {
- Read upRead up
- Exclude checks
The function fs_node_ioctl
is never used. (detailed CWE explanation)
The function fs_count
is never used. Invalid
Invalid
size_t fs_count() {
- Read upRead up
- Exclude checks
The function fs_count
is never used. (detailed CWE explanation)