libnfs-5.0.3-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:1587:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'buf'
# 1585|   
# 1586|    finished:
# 1587|->         cb_data_is_finished(cb_data, status);
# 1588|   }
# 1589|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c: scope_hint: In function 'nfs4_getacl_cb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:2232:12: warning[-Wanalyzer-malloc-leak]: leak of 'calloc((long unsigned int)*(fattr4_acl *)data.fattr4_acl_len, 32)'
# 2230|           dst->fattr4_acl_len = src->fattr4_acl_len;
# 2231|           dst->fattr4_acl_val = calloc(dst->fattr4_acl_len, sizeof(nfsace4));
# 2232|->         if (dst->fattr4_acl_val == NULL) {
# 2233|                   cb_data->status = -ENOMEM;
# 2234|   		nfs_set_error(nfs, "Failed to allocate fattr4_acl_val");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:2237:47: warning[-Wanalyzer-malloc-leak]: leak of 'calloc((long unsigned int)(*<unknown>.who.utf8string_len + 1), 1)'
# 2235|                   goto finished;
# 2236|           }                
# 2237|->         for (i = 0; i < dst->fattr4_acl_len; i++) {
# 2238|                   dst->fattr4_acl_val[i].type = src->fattr4_acl_val[i].type;
# 2239|                   dst->fattr4_acl_val[i].flag = src->fattr4_acl_val[i].flag;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c: scope_hint: In function 'mount_getexports_cb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:2304:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'new_export' where non-null expected
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/include/nfsc/libnfs-zdr.h:41: included_from: Included from here.
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:102: included_from: Included from here.
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
# 2302|   
# 2303|   		new_export = malloc(sizeof(*new_export));
# 2304|-> 		memset(new_export, 0, sizeof(*new_export));
# 2305|   		new_export->ex_dir  = strdup(export->ex_dir);
# 2306|   		new_export->ex_next = cb_data->return_data;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def6]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c: scope_hint: In function 'nfs_find_local_servers'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-sync.c:2677:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'ifc.ifc_ifcu.ifcu_buf' where non-null expected
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
# 2675|   		ifc.ifc_len = size;
# 2676|   		ifc.ifc_buf = malloc(size);
# 2677|-> 		memset(ifc.ifc_buf, 0, size);
# 2678|   #ifndef PS3_PPU
# 2679|   		if (ioctl(rpc_get_fd(rpc), SIOCGIFCONF, (caddr_t)&ifc) < 0) {

Error: CPPCHECK_WARNING: [#def7]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-zdr.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-zdr.c: scope_hint: In function 'libnfs_authnone_create'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-zdr.c:557:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'auth'
#  555|   	auth->ah_verf.oa_base = NULL;
#  556|   
#  557|-> 	auth->ah_private = NULL;
#  558|   
#  559|   	return auth;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-zdr.c: scope_hint: In function 'libnfs_authunix_create'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs-zdr.c:576:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL 'malloc((long unsigned int)size)' where non-null expected
<built-in>: note: argument 1 of '__builtin_memset' must be non-null
#  574|   	auth->ah_cred.oa_base = malloc(size);
#  575|   
#  576|-> 	memset(auth->ah_cred.oa_base, 0x00, size);
#  577|   	buf = (uint32_t *)(void *)auth->ah_cred.oa_base;
#  578|   	idx = 0;

Error: CPPCHECK_WARNING: [#def10]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-465): [#def11]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs.c: scope_hint: In function 'nfs_dircache_add'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs.c:119:44: warning[-Wanalyzer-deref-before-check]: check of 'nfsdir' for NULL after already dereferencing it
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs.c:86: included_from: Included from here.
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/libnfs.c:117:9: note: in expansion of macro 'LIBNFS_LIST_ADD'
#  117|   	LIBNFS_LIST_ADD(&nfs->nfsi->dircache, nfsdir);
#  118|   
#  119|-> 	for (nfsdir = nfs->nfsi->dircache; nfsdir; nfsdir = nfsdir->next, i++) {
#  120|   		if (i > MAX_DIR_CACHE) {
#  121|   			LIBNFS_LIST_REMOVE(&nfs->nfsi->dircache, nfsdir);

Error: CPPCHECK_WARNING: [#def12]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_lookup_path_async_internal'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:330:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*data.path'
#  328|   	LOOKUP3args args;
#  329|   
#  330|-> 	while (*data->path == '/') {
#  331|   	      data->path++;
#  332|   	}

Error: GCC_ANALYZER_WARNING (CWE-688): [#def14]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_lookuppath_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:537:29: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL '*data.saved_path' where non-null expected
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:90: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 2 of 'strncmp' must be non-null
#  535|   			if (strlen(mnt->path) < max_match_len)
#  536|   				continue;
#  537|-> 			if (strncmp(mnt->path, data->saved_path,
#  538|   				     strlen(mnt->path)))
#  539|   				continue;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'lookup_missing_attributes'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2700:52: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'rdpe_cb_data'
# 2698|   		if (rdpe_cb_data == NULL) {
# 2699|   			rdpe_cb_data = malloc(sizeof(struct rdpe_cb_data));
# 2700|-> 			rdpe_cb_data->getattrcount = 0;
# 2701|   			rdpe_cb_data->status = RPC_STATUS_SUCCESS;
# 2702|   			rdpe_cb_data->data = data;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2705:51: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'rdpe_lookup_cb_data'
# 2703|   		}
# 2704|   		rdpe_lookup_cb_data = malloc(sizeof(struct rdpe_lookup_cb_data));
# 2705|-> 		rdpe_lookup_cb_data->rdpe_cb_data = rdpe_cb_data;
# 2706|   		rdpe_lookup_cb_data->nfsdirent = nfsdirent;
# 2707|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2768:29: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 2766|   	entry =res->READDIR3res_u.resok.reply.entries;
# 2767|   	while (entry != NULL) {
# 2768|-> 		nfsdirent = malloc(sizeof(struct nfsdirent));
# 2769|   		if (nfsdirent == NULL) {
# 2770|   			data->cb(-ENOMEM, nfs, "Failed to allocate dirent",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_opendir_2_cb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2768:29: warning[-Wanalyzer-malloc-leak]: leak of 'nfsdirent'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/include/nfsc/libnfs-zdr.h:41: included_from: Included from here.
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:97: included_from: Included from here.
# 2766|   	entry =res->READDIR3res_u.resok.reply.entries;
# 2767|   	while (entry != NULL) {
# 2768|-> 		nfsdirent = malloc(sizeof(struct nfsdirent));
# 2769|   		if (nfsdirent == NULL) {
# 2770|   			data->cb(-ENOMEM, nfs, "Failed to allocate dirent",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2793:24: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 2791|   		nfsdir->entries  = nfsdirent;
# 2792|   
# 2793|-> 		cookie = entry->cookie;
# 2794|   		entry  = entry->nextentry;
# 2795|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_opendir_cb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2899:29: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 2897|                   memset(&attr, 0, sizeof(attr));
# 2898|   
# 2899|-> 		nfsdirent = malloc(sizeof(struct nfsdirent));
# 2900|   		if (nfsdirent == NULL) {
# 2901|   			data->cb(-ENOMEM, nfs, "Failed to allocate dirent",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2899:29: warning[-Wanalyzer-malloc-leak]: leak of 'nfsdirent'
# 2897|                   memset(&attr, 0, sizeof(attr));
# 2898|   
# 2899|-> 		nfsdirent = malloc(sizeof(struct nfsdirent));
# 2900|   		if (nfsdirent == NULL) {
# 2901|   			data->cb(-ENOMEM, nfs, "Failed to allocate dirent",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:2987:24: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 2985|   		nfsdir->entries  = nfsdirent;
# 2986|   
# 2987|-> 		cookie = entry->cookie;
# 2988|   		entry  = entry->nextentry;
# 2989|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_opendir_continue_internal'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3067:42: warning[-Wanalyzer-malloc-leak]: leak of 'malloc((long unsigned int)*data.fh.len)'
# 3065|   	memcpy(nfsdir->fh.val, data->fh.val, data->fh.len);
# 3066|   
# 3067|-> 	args.dir.data.data_len = data->fh.len;
# 3068|   	args.dir.data.data_val = data->fh.val;
# 3069|   	args.cookie = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_mknod_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3235:25: warning[-Wanalyzer-malloc-leak]: leak of 'cb_data'
# 3233|                   cb_data->path = strdup(path);
# 3234|                   if (cb_data->path == NULL) {
# 3235|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3236|                                         "buffer for mknod path");
# 3237|                           return -1;

Error: CLANG_WARNING: [#def25]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3235:25: warning[unix.Malloc]: Potential leak of memory pointed to by 'cb_data'
# 3233|                   cb_data->path = strdup(path);
# 3234|                   if (cb_data->path == NULL) {
# 3235|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3236|                                         "buffer for mknod path");
# 3237|                           return -1;

Error: CPPCHECK_WARNING (CWE-401): [#def26]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3237: error[memleak]: Memory leak: cb_data
# 3235|                           nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3236|                                         "buffer for mknod path");
# 3237|->                         return -1;
# 3238|                   }
# 3239|                   ptr = strrchr(cb_data->path, '/');

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3244:25: warning[-Wanalyzer-malloc-leak]: leak of 'cb_data'
# 3242|                   cb_data->path = malloc(strlen(path) + 2);
# 3243|                   if (cb_data->path == NULL) {
# 3244|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3245|                                         "buffer for mknod path");
# 3246|                           return -1;

Error: CPPCHECK_WARNING (CWE-401): [#def28]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3246: error[memleak]: Memory leak: cb_data
# 3244|                           nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3245|                                         "buffer for mknod path");
# 3246|->                         return -1;
# 3247|                   }
# 3248|                   sprintf(cb_data->path, "%c%s", '\0', path);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_create_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3602:25: warning[-Wanalyzer-malloc-leak]: leak of 'cb_data'
# 3600|                   cb_data->path = strdup(path);
# 3601|                   if (cb_data->path == NULL) {
# 3602|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3603|                                         "buffer for creat path");
# 3604|                           return -1;

Error: CLANG_WARNING: [#def30]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3602:25: warning[unix.Malloc]: Potential leak of memory pointed to by 'cb_data'
# 3600|                   cb_data->path = strdup(path);
# 3601|                   if (cb_data->path == NULL) {
# 3602|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3603|                                         "buffer for creat path");
# 3604|                           return -1;

Error: CPPCHECK_WARNING (CWE-401): [#def31]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3604: error[memleak]: Memory leak: cb_data
# 3602|                           nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3603|                                         "buffer for creat path");
# 3604|->                         return -1;
# 3605|                   }
# 3606|                   ptr = strrchr(cb_data->path, '/');

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3611:25: warning[-Wanalyzer-malloc-leak]: leak of 'cb_data'
# 3609|                   cb_data->path = malloc(strlen(path) + 2);
# 3610|                   if (cb_data->path == NULL) {
# 3611|->                         nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3612|                                         "buffer for creat path");
# 3613|                           return -1;

Error: CPPCHECK_WARNING (CWE-401): [#def33]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:3613: error[memleak]: Memory leak: cb_data
# 3611|                           nfs_set_error(nfs, "Out of memory, failed to allocate "
# 3612|                                         "buffer for creat path");
# 3613|->                         return -1;
# 3614|                   }
# 3615|                   sprintf(cb_data->path, "%c%s", '\0', path);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_getacl_cb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:4018:17: warning[-Wanalyzer-malloc-leak]: leak of 'acl.ace'
# 4016|   	if (check_nfs3_error(nfs, status, data, command_data)) {
# 4017|   		free_nfs_cb_data(data);
# 4018|-> 		return;
# 4019|   	}
# 4020|   

Error: CLANG_WARNING: [#def35]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:4050:25: warning[unix.Malloc]: Potential leak of memory pointed to by 'acl.ace'
# 4048|                   acl.default_ace = calloc(acl.default_ace_count, sizeof(struct nfsacl_ace));
# 4049|                   if (acl.default_ace == NULL) {
# 4050|->                         data->cb(-ENOMEM, nfs, nfs_get_error(nfs), data->private_data);
# 4051|                           free_nfs_cb_data(data);
# 4052|                           return;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_pread_mcb'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:4736:36: warning[-Wanalyzer-malloc-leak]: leak of '*data.buffer'
# 4734|   				/* we need a reassembly buffer after all */
# 4735|   				data->buffer = malloc(mdata->count);
# 4736|-> 				if (data->buffer == NULL) {
# 4737|   					data->oom = 1;
# 4738|   					goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:4748:52: warning[-Wanalyzer-malloc-leak]: leak of '*data.buffer'
# 4746|                                           if (data->buffer == NULL) {
# 4747|                                                   data->buffer = malloc(data->org_count);
# 4748|->                                                 if (data->buffer == NULL) {
# 4749|                                                           data->oom = 1;
# 4750|                                                           goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c: scope_hint: In function 'nfs3_pread_async_internal'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v3.c:4923:30: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 4921|   		/* we do readahead, a big read or aligned out the request so we
# 4922|   		 * need a (bigger) reassembly buffer */
# 4923|-> 		data->buffer = realloc(data->buffer, data->count + nfsfh->ra.cur_ra);
# 4924|   		if (data->buffer == NULL) {
# 4925|   			free_nfs_cb_data(data);

Error: CPPCHECK_WARNING: [#def39]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c: scope_hint: In function 'nfs4_resolve_path'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:223:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'path'
#  221|            * absolute paths too.
#  222|            */
#  223|->         if (path[0] == '/') {
#  224|                   new_path = strdup(path);
#  225|           } else {

Error: CLANG_WARNING: [#def41]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:574:9: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
#  572|           len -= 8;
#  573|           st->nfs_mtime_nsec = ntohl(*(uint32_t *)(void *)buf);
#  574|->         buf += 4;
#  575|           len -= 4;
#  576|   

Error: CLANG_WARNING: [#def42]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:575:9: warning[deadcode.DeadStores]: Value stored to 'len' is never read
#  573|           st->nfs_mtime_nsec = ntohl(*(uint32_t *)(void *)buf);
#  574|           buf += 4;
#  575|->         len -= 4;
#  576|   
#  577|           st->nfs_blksize = NFS_BLKSIZE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c: scope_hint: In function 'nfs4_lookup_path_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:1407:24: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 1405|           path = nfs4_resolve_path(nfs, data->path);
# 1406|           if (path == NULL) {
# 1407|->                 return -1;
# 1408|           }
# 1409|           free(data->path);

Error: CLANG_WARNING: [#def44]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:2064:20: warning[core.NullDereference]: Dereference of null pointer
# 2062|                   return;
# 2063|           }
# 2064|->         ocresok = &res->resarray.resarray_val[i].nfs_resop4_u.opopen_confirm.OPEN_CONFIRM4res_u.resok4;
# 2065|   
# 2066|           fh = data->filler.blob0.val;

Error: CLANG_WARNING: [#def45]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:2257:17: warning[deadcode.DeadStores]: Value stored to 'fa' is never read
# 2255|   
# 2256|                   ch = &oargs->openhow.openflag4_u.how;
# 2257|->                 fa = &ch->createhow4_u.createattrs;
# 2258|   
# 2259|                   oargs->openhow.opentype = OPEN4_CREATE;

Error: CLANG_WARNING: [#def46]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4308:30: warning[deadcode.DeadStores]: Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i'
# 4306|                           break;
# 4307|                   case F_UNLCK:
# 4308|->                         if ((i = nfs4_find_op(nfs, data, res, OP_LOCKU,
# 4309|                                                 "UNLOCK")) < 0) {
# 4310|                                   return;

Error: CLANG_WARNING: [#def47]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4566:9: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
# 4564|           memcpy(&u64, buf, 8);
# 4565|   	svfs->f_blocks  = (fsblkcnt_t)(nfs_ntoh64(u64) / svfs->f_frsize);
# 4566|->         buf += 8;
# 4567|           len -= 8;
# 4568|   

Error: CLANG_WARNING: [#def48]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4567:9: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 4565|   	svfs->f_blocks  = (fsblkcnt_t)(nfs_ntoh64(u64) / svfs->f_frsize);
# 4566|           buf += 8;
# 4567|->         len -= 8;
# 4568|   
# 4569|           return 0;

Error: CLANG_WARNING: [#def49]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4643:9: warning[deadcode.DeadStores]: Value stored to 'buf' is never read
# 4641|           memcpy(&u64, buf, 8);
# 4642|   	svfs64->f_blocks = nfs_ntoh64(u64) / svfs64->f_frsize;
# 4643|->         buf += 8;
# 4644|           len -= 8;
# 4645|   

Error: CLANG_WARNING: [#def50]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4644:9: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 4642|   	svfs64->f_blocks = nfs_ntoh64(u64) / svfs64->f_frsize;
# 4643|           buf += 8;
# 4644|->         len -= 8;
# 4645|   
# 4646|           return 0;

Error: CLANG_WARNING: [#def51]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4818:25: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 4816|   
# 4817|           if (nfs4_lookup_path_async(nfs, data, nfs4_chmod_cb) < 0) {
# 4818|->                 return -1;
# 4819|           }
# 4820|   

Error: CLANG_WARNING: [#def52]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:4975:25: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 4973|   
# 4974|           if (nfs4_lookup_path_async(nfs, data, nfs4_chown_cb) < 0) {
# 4975|->                 return -1;
# 4976|           }
# 4977|   

Error: CLANG_WARNING: [#def53]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:5096:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 5094|           data->filler.blob3.val = malloc(sizeof(uint32_t));
# 5095|           if (data->filler.blob3.val == NULL) {
# 5096|->                 nfs_set_error(nfs, "Out of memory");
# 5097|                   return -1;
# 5098|           }

Error: CLANG_WARNING: [#def54]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/nfs_v4.c:5189:17: warning[unix.Malloc]: Potential leak of memory pointed to by 'data'
# 5187|           buf = data->filler.blob3.val = malloc(data->filler.blob3.len);
# 5188|           if (data->filler.blob3.val == NULL) {
# 5189|->                 nfs_set_error(nfs, "Out of memory");
# 5190|                   return -1;
# 5191|           }

Error: CPPCHECK_WARNING: [#def55]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/pdu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def56]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: scope_hint: In function 'rpc_connect_sockaddr_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:786:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dup2(*rpc.fd, *rpc.old_fd)'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/include/nfsc/libnfs-zdr.h:41: included_from: Included from here.
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:90: included_from: Included from here.
#  784|   	if (rpc->old_fd) {
#  785|   #if !defined(WIN32) && !defined(PS3_PPU) && !defined(PS2_EE)
#  786|-> 		if (dup2(rpc->fd, rpc->old_fd) == -1) {
#  787|   			return -1;
#  788|   		}

Error: GCC_ANALYZER_WARNING (CWE-666): [#def58]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:786:21: warning[-Wanalyzer-fd-phase-mismatch]: 'dup2' on file descriptor '*rpc.fd' in wrong phase
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: scope_hint: In function 'rpc_connect_sockaddr_async'
#  784|   	if (rpc->old_fd) {
#  785|   #if !defined(WIN32) && !defined(PS3_PPU) && !defined(PS2_EE)
#  786|-> 		if (dup2(rpc->fd, rpc->old_fd) == -1) {
#  787|   			return -1;
#  788|   		}

Error: GCC_ANALYZER_WARNING: [#def59]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:786:21: warning[-Wanalyzer-fd-use-without-check]: 'dup2' on possibly invalid file descriptor '*rpc.fd'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: scope_hint: In function 'rpc_connect_sockaddr_async'
#  784|   	if (rpc->old_fd) {
#  785|   #if !defined(WIN32) && !defined(PS3_PPU) && !defined(PS2_EE)
#  786|-> 		if (dup2(rpc->fd, rpc->old_fd) == -1) {
#  787|   			return -1;
#  788|   		}

Error: GCC_ANALYZER_WARNING (CWE-775): [#def60]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:870:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*rpc.fd'
#  868|   #if !defined(WIN32)
#  869|   				/* we got EACCES, so don't try again */
#  870|-> 				if (rc != 0 && errno == EACCES)
#  871|   					break;
#  872|   #endif

Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:880:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*rpc.fd'
#  878|   	set_nolinger(rpc->fd);
#  879|   
#  880|-> 	if (connect(rpc->fd, (struct sockaddr *)s, socksize) != 0 &&
#  881|               errno != EINPROGRESS) {
#  882|   		rpc_set_error(rpc, "connect() to server failed. %s(%d)",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def62]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: scope_hint: In function 'rpc_bind_udp'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:1120:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'create_socket(2, 2, 0)'
# 1118|   		}
# 1119|   
# 1120|-> 		if (bind(rpc->fd, (struct sockaddr *)ai->ai_addr,
# 1121|                            sizeof(struct sockaddr_in)) != 0) {
# 1122|   			rpc_set_error(rpc, "Failed to bind to UDP socket: %s",

Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c: scope_hint: In function 'rpc_set_udp_destination'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/lib/socket.c:1169:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor '*rpc.fd'
# 1167|   
# 1168|           if (!is_broadcast) {
# 1169|->                 if (connect(rpc->fd, (struct sockaddr *)&rpc->udp_dest, sizeof(rpc->udp_dest)) != 0 && errno != EINPROGRESS) {
# 1170|                           rpc_set_error(rpc, "connect() to UDP address failed. %s(%d)", strerror(errno), errno);
# 1171|                           return -1;

Error: CLANG_WARNING: [#def64]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/mount/mount.c:188:8: warning[deadcode.DeadStores]: Value stored to 'str' during its initialization is never read
#  186|   	enum mountstat3 stat = st;
#  187|   
#  188|-> 	char *str = "unknown mount stat";
#  189|   	switch (stat) {
#  190|   	case MNT3_OK:		  str="MNT3_OK"; break;

Error: CPPCHECK_WARNING: [#def65]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def66]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_cookieverf3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:41:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   41 |         register int32_t *buf;
#      |                           ^~~
#   39|   zdr_cookieverf3 (ZDR *zdrs, cookieverf3 objp)
#   40|   {
#   41|-> 	register int32_t *buf;
#   42|   	buf = NULL;
#   43|   

Error: COMPILER_WARNING (CWE-563): [#def67]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_cookie3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:52:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   52 |         register int32_t *buf;
#      |                           ^~~
#   50|   zdr_cookie3 (ZDR *zdrs, cookie3 *objp)
#   51|   {
#   52|-> 	register int32_t *buf;
#   53|   	buf = NULL;
#   54|   

Error: COMPILER_WARNING (CWE-563): [#def68]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfs_fh3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:63:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   63 |         register int32_t *buf;
#      |                           ^~~
#   61|   zdr_nfs_fh3 (ZDR *zdrs, nfs_fh3 *objp)
#   62|   {
#   63|-> 	register int32_t *buf;
#   64|   	buf = NULL;
#   65|   

Error: COMPILER_WARNING (CWE-563): [#def69]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_filename3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:74:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   74 |         register int32_t *buf;
#      |                           ^~~
#   72|   zdr_filename3 (ZDR *zdrs, filename3 *objp)
#   73|   {
#   74|-> 	register int32_t *buf;
#   75|   	buf = NULL;
#   76|   

Error: COMPILER_WARNING (CWE-563): [#def70]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_diropargs3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:85:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   85 |         register int32_t *buf;
#      |                           ^~~
#   83|   zdr_diropargs3 (ZDR *zdrs, diropargs3 *objp)
#   84|   {
#   85|-> 	register int32_t *buf;
#   86|   	buf = NULL;
#   87|   

Error: COMPILER_WARNING (CWE-563): [#def71]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ftype3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:98:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#   98 |         register int32_t *buf;
#      |                           ^~~
#   96|   zdr_ftype3 (ZDR *zdrs, ftype3 *objp)
#   97|   {
#   98|-> 	register int32_t *buf;
#   99|   	buf = NULL;
#  100|   

Error: COMPILER_WARNING (CWE-563): [#def72]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_mode3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:109:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  109 |         register int32_t *buf;
#      |                           ^~~
#  107|   zdr_mode3 (ZDR *zdrs, mode3 *objp)
#  108|   {
#  109|-> 	register int32_t *buf;
#  110|   	buf = NULL;
#  111|   

Error: COMPILER_WARNING (CWE-563): [#def73]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_uid3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:120:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  120 |         register int32_t *buf;
#      |                           ^~~
#  118|   zdr_uid3 (ZDR *zdrs, uid3 *objp)
#  119|   {
#  120|-> 	register int32_t *buf;
#  121|   	buf = NULL;
#  122|   

Error: COMPILER_WARNING (CWE-563): [#def74]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_gid3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:131:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  131 |         register int32_t *buf;
#      |                           ^~~
#  129|   zdr_gid3 (ZDR *zdrs, gid3 *objp)
#  130|   {
#  131|-> 	register int32_t *buf;
#  132|   	buf = NULL;
#  133|   

Error: COMPILER_WARNING (CWE-563): [#def75]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_size3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:142:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  142 |         register int32_t *buf;
#      |                           ^~~
#  140|   zdr_size3 (ZDR *zdrs, size3 *objp)
#  141|   {
#  142|-> 	register int32_t *buf;
#  143|   	buf = NULL;
#  144|   

Error: COMPILER_WARNING (CWE-563): [#def76]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_fileid3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:153:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  153 |         register int32_t *buf;
#      |                           ^~~
#  151|   zdr_fileid3 (ZDR *zdrs, fileid3 *objp)
#  152|   {
#  153|-> 	register int32_t *buf;
#  154|   	buf = NULL;
#  155|   

Error: COMPILER_WARNING (CWE-563): [#def77]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_specdata3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:164:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  164 |         register int32_t *buf;
#      |                           ^~~
#  162|   zdr_specdata3 (ZDR *zdrs, specdata3 *objp)
#  163|   {
#  164|-> 	register int32_t *buf;
#  165|   	buf = NULL;
#  166|   

Error: COMPILER_WARNING (CWE-563): [#def78]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfstime3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:177:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  177 |         register int32_t *buf;
#      |                           ^~~
#  175|   zdr_nfstime3 (ZDR *zdrs, nfstime3 *objp)
#  176|   {
#  177|-> 	register int32_t *buf;
#  178|   	buf = NULL;
#  179|   

Error: COMPILER_WARNING (CWE-563): [#def79]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_fattr3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:190:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  190 |         register int32_t *buf;
#      |                           ^~~
#  188|   zdr_fattr3 (ZDR *zdrs, fattr3 *objp)
#  189|   {
#  190|-> 	register int32_t *buf;
#  191|   	buf = NULL;
#  192|   

Error: COMPILER_WARNING (CWE-563): [#def80]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_post_op_attr'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:225:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  225 |         register int32_t *buf;
#      |                           ^~~
#  223|   zdr_post_op_attr (ZDR *zdrs, post_op_attr *objp)
#  224|   {
#  225|-> 	register int32_t *buf;
#  226|   	buf = NULL;
#  227|   

Error: COMPILER_WARNING (CWE-563): [#def81]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfsstat3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:246:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  246 |         register int32_t *buf;
#      |                           ^~~
#  244|   zdr_nfsstat3 (ZDR *zdrs, nfsstat3 *objp)
#  245|   {
#  246|-> 	register int32_t *buf;
#  247|   	buf = NULL;
#  248|   

Error: COMPILER_WARNING (CWE-563): [#def82]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_stable_how'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:257:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  257 |         register int32_t *buf;
#      |                           ^~~
#  255|   zdr_stable_how (ZDR *zdrs, stable_how *objp)
#  256|   {
#  257|-> 	register int32_t *buf;
#  258|   	buf = NULL;
#  259|   

Error: COMPILER_WARNING (CWE-563): [#def83]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_offset3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:268:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  268 |         register int32_t *buf;
#      |                           ^~~
#  266|   zdr_offset3 (ZDR *zdrs, offset3 *objp)
#  267|   {
#  268|-> 	register int32_t *buf;
#  269|   	buf = NULL;
#  270|   

Error: COMPILER_WARNING (CWE-563): [#def84]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_count3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:279:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  279 |         register int32_t *buf;
#      |                           ^~~
#  277|   zdr_count3 (ZDR *zdrs, count3 *objp)
#  278|   {
#  279|-> 	register int32_t *buf;
#  280|   	buf = NULL;
#  281|   

Error: COMPILER_WARNING (CWE-563): [#def85]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_wcc_attr'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:290:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  290 |         register int32_t *buf;
#      |                           ^~~
#  288|   zdr_wcc_attr (ZDR *zdrs, wcc_attr *objp)
#  289|   {
#  290|-> 	register int32_t *buf;
#  291|   	buf = NULL;
#  292|   

Error: COMPILER_WARNING (CWE-563): [#def86]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_pre_op_attr'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:305:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  305 |         register int32_t *buf;
#      |                           ^~~
#  303|   zdr_pre_op_attr (ZDR *zdrs, pre_op_attr *objp)
#  304|   {
#  305|-> 	register int32_t *buf;
#  306|   	buf = NULL;
#  307|   

Error: COMPILER_WARNING (CWE-563): [#def87]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_wcc_data'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:326:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  326 |         register int32_t *buf;
#      |                           ^~~
#  324|   zdr_wcc_data (ZDR *zdrs, wcc_data *objp)
#  325|   {
#  326|-> 	register int32_t *buf;
#  327|   	buf = NULL;
#  328|   

Error: COMPILER_WARNING (CWE-563): [#def88]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:339:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  339 |         register int32_t *buf;
#      |                           ^~~
#  337|   zdr_WRITE3args (ZDR *zdrs, WRITE3args *objp)
#  338|   {
#  339|-> 	register int32_t *buf;
#  340|   	buf = NULL;
#  341|   

Error: COMPILER_WARNING (CWE-563): [#def89]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_writeverf3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:358:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  358 |         register int32_t *buf;
#      |                           ^~~
#  356|   zdr_writeverf3 (ZDR *zdrs, writeverf3 objp)
#  357|   {
#  358|-> 	register int32_t *buf;
#  359|   	buf = NULL;
#  360|   

Error: COMPILER_WARNING (CWE-563): [#def90]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:369:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  369 |         register int32_t *buf;
#      |                           ^~~
#  367|   zdr_WRITE3resok (ZDR *zdrs, WRITE3resok *objp)
#  368|   {
#  369|-> 	register int32_t *buf;
#  370|   	buf = NULL;
#  371|   

Error: COMPILER_WARNING (CWE-563): [#def91]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:386:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  386 |         register int32_t *buf;
#      |                           ^~~
#  384|   zdr_WRITE3resfail (ZDR *zdrs, WRITE3resfail *objp)
#  385|   {
#  386|-> 	register int32_t *buf;
#  387|   	buf = NULL;
#  388|   

Error: COMPILER_WARNING (CWE-563): [#def92]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:397:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  397 |         register int32_t *buf;
#      |                           ^~~
#  395|   zdr_WRITE3res (ZDR *zdrs, WRITE3res *objp)
#  396|   {
#  397|-> 	register int32_t *buf;
#  398|   	buf = NULL;
#  399|   

Error: COMPILER_WARNING (CWE-563): [#def93]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:418:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  418 |         register int32_t *buf;
#      |                           ^~~
#  416|   zdr_LOOKUP3args (ZDR *zdrs, LOOKUP3args *objp)
#  417|   {
#  418|-> 	register int32_t *buf;
#  419|   	buf = NULL;
#  420|   

Error: COMPILER_WARNING (CWE-563): [#def94]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:429:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  429 |         register int32_t *buf;
#      |                           ^~~
#  427|   zdr_LOOKUP3resok (ZDR *zdrs, LOOKUP3resok *objp)
#  428|   {
#  429|-> 	register int32_t *buf;
#  430|   	buf = NULL;
#  431|   

Error: COMPILER_WARNING (CWE-563): [#def95]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:444:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  444 |         register int32_t *buf;
#      |                           ^~~
#  442|   zdr_LOOKUP3resfail (ZDR *zdrs, LOOKUP3resfail *objp)
#  443|   {
#  444|-> 	register int32_t *buf;
#  445|   	buf = NULL;
#  446|   

Error: COMPILER_WARNING (CWE-563): [#def96]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:455:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  455 |         register int32_t *buf;
#      |                           ^~~
#  453|   zdr_LOOKUP3res (ZDR *zdrs, LOOKUP3res *objp)
#  454|   {
#  455|-> 	register int32_t *buf;
#  456|   	buf = NULL;
#  457|   

Error: COMPILER_WARNING (CWE-563): [#def97]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_COMMIT3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:476:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  476 |         register int32_t *buf;
#      |                           ^~~
#  474|   zdr_COMMIT3args (ZDR *zdrs, COMMIT3args *objp)
#  475|   {
#  476|-> 	register int32_t *buf;
#  477|   	buf = NULL;
#  478|   

Error: COMPILER_WARNING (CWE-563): [#def98]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_COMMIT3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:491:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  491 |         register int32_t *buf;
#      |                           ^~~
#  489|   zdr_COMMIT3resok (ZDR *zdrs, COMMIT3resok *objp)
#  490|   {
#  491|-> 	register int32_t *buf;
#  492|   	buf = NULL;
#  493|   

Error: COMPILER_WARNING (CWE-563): [#def99]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_COMMIT3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:504:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  504 |         register int32_t *buf;
#      |                           ^~~
#  502|   zdr_COMMIT3resfail (ZDR *zdrs, COMMIT3resfail *objp)
#  503|   {
#  504|-> 	register int32_t *buf;
#  505|   	buf = NULL;
#  506|   

Error: COMPILER_WARNING (CWE-563): [#def100]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_COMMIT3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:515:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  515 |         register int32_t *buf;
#      |                           ^~~
#  513|   zdr_COMMIT3res (ZDR *zdrs, COMMIT3res *objp)
#  514|   {
#  515|-> 	register int32_t *buf;
#  516|   	buf = NULL;
#  517|   

Error: COMPILER_WARNING (CWE-563): [#def101]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ACCESS3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:536:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  536 |         register int32_t *buf;
#      |                           ^~~
#  534|   zdr_ACCESS3args (ZDR *zdrs, ACCESS3args *objp)
#  535|   {
#  536|-> 	register int32_t *buf;
#  537|   	buf = NULL;
#  538|   

Error: COMPILER_WARNING (CWE-563): [#def102]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ACCESS3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:549:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  549 |         register int32_t *buf;
#      |                           ^~~
#  547|   zdr_ACCESS3resok (ZDR *zdrs, ACCESS3resok *objp)
#  548|   {
#  549|-> 	register int32_t *buf;
#  550|   	buf = NULL;
#  551|   

Error: COMPILER_WARNING (CWE-563): [#def103]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ACCESS3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:562:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  562 |         register int32_t *buf;
#      |                           ^~~
#  560|   zdr_ACCESS3resfail (ZDR *zdrs, ACCESS3resfail *objp)
#  561|   {
#  562|-> 	register int32_t *buf;
#  563|   	buf = NULL;
#  564|   

Error: COMPILER_WARNING (CWE-563): [#def104]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ACCESS3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:573:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  573 |         register int32_t *buf;
#      |                           ^~~
#  571|   zdr_ACCESS3res (ZDR *zdrs, ACCESS3res *objp)
#  572|   {
#  573|-> 	register int32_t *buf;
#  574|   	buf = NULL;
#  575|   

Error: COMPILER_WARNING (CWE-563): [#def105]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:594:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  594 |         register int32_t *buf;
#      |                           ^~~
#  592|   zdr_GETATTR3args (ZDR *zdrs, GETATTR3args *objp)
#  593|   {
#  594|-> 	register int32_t *buf;
#  595|   	buf = NULL;
#  596|   

Error: COMPILER_WARNING (CWE-563): [#def106]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:605:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  605 |         register int32_t *buf;
#      |                           ^~~
#  603|   zdr_GETATTR3resok (ZDR *zdrs, GETATTR3resok *objp)
#  604|   {
#  605|-> 	register int32_t *buf;
#  606|   	buf = NULL;
#  607|   

Error: COMPILER_WARNING (CWE-563): [#def107]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:616:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  616 |         register int32_t *buf;
#      |                           ^~~
#  614|   zdr_GETATTR3res (ZDR *zdrs, GETATTR3res *objp)
#  615|   {
#  616|-> 	register int32_t *buf;
#  617|   	buf = NULL;
#  618|   

Error: COMPILER_WARNING (CWE-563): [#def108]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_time_how'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:635:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  635 |         register int32_t *buf;
#      |                           ^~~
#  633|   zdr_time_how (ZDR *zdrs, time_how *objp)
#  634|   {
#  635|-> 	register int32_t *buf;
#  636|   	buf = NULL;
#  637|   

Error: COMPILER_WARNING (CWE-563): [#def109]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_mode3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:646:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  646 |         register int32_t *buf;
#      |                           ^~~
#  644|   zdr_set_mode3 (ZDR *zdrs, set_mode3 *objp)
#  645|   {
#  646|-> 	register int32_t *buf;
#  647|   	buf = NULL;
#  648|   

Error: COMPILER_WARNING (CWE-563): [#def110]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_uid3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:665:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  665 |         register int32_t *buf;
#      |                           ^~~
#  663|   zdr_set_uid3 (ZDR *zdrs, set_uid3 *objp)
#  664|   {
#  665|-> 	register int32_t *buf;
#  666|   	buf = NULL;
#  667|   

Error: COMPILER_WARNING (CWE-563): [#def111]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_gid3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:684:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  684 |         register int32_t *buf;
#      |                           ^~~
#  682|   zdr_set_gid3 (ZDR *zdrs, set_gid3 *objp)
#  683|   {
#  684|-> 	register int32_t *buf;
#  685|   	buf = NULL;
#  686|   

Error: COMPILER_WARNING (CWE-563): [#def112]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_size3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:703:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  703 |         register int32_t *buf;
#      |                           ^~~
#  701|   zdr_set_size3 (ZDR *zdrs, set_size3 *objp)
#  702|   {
#  703|-> 	register int32_t *buf;
#  704|   	buf = NULL;
#  705|   

Error: COMPILER_WARNING (CWE-563): [#def113]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_atime'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:722:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  722 |         register int32_t *buf;
#      |                           ^~~
#  720|   zdr_set_atime (ZDR *zdrs, set_atime *objp)
#  721|   {
#  722|-> 	register int32_t *buf;
#  723|   	buf = NULL;
#  724|   

Error: COMPILER_WARNING (CWE-563): [#def114]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_set_mtime'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:741:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  741 |         register int32_t *buf;
#      |                           ^~~
#  739|   zdr_set_mtime (ZDR *zdrs, set_mtime *objp)
#  740|   {
#  741|-> 	register int32_t *buf;
#  742|   	buf = NULL;
#  743|   

Error: COMPILER_WARNING (CWE-563): [#def115]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_sattr3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:760:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  760 |         register int32_t *buf;
#      |                           ^~~
#  758|   zdr_sattr3 (ZDR *zdrs, sattr3 *objp)
#  759|   {
#  760|-> 	register int32_t *buf;
#  761|   	buf = NULL;
#  762|   

Error: COMPILER_WARNING (CWE-563): [#def116]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_createmode3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:781:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  781 |         register int32_t *buf;
#      |                           ^~~
#  779|   zdr_createmode3 (ZDR *zdrs, createmode3 *objp)
#  780|   {
#  781|-> 	register int32_t *buf;
#  782|   	buf = NULL;
#  783|   

Error: COMPILER_WARNING (CWE-563): [#def117]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_createverf3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:792:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  792 |         register int32_t *buf;
#      |                           ^~~
#  790|   zdr_createverf3 (ZDR *zdrs, createverf3 objp)
#  791|   {
#  792|-> 	register int32_t *buf;
#  793|   	buf = NULL;
#  794|   

Error: COMPILER_WARNING (CWE-563): [#def118]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_createhow3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:803:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  803 |         register int32_t *buf;
#      |                           ^~~
#  801|   zdr_createhow3 (ZDR *zdrs, createhow3 *objp)
#  802|   {
#  803|-> 	register int32_t *buf;
#  804|   	buf = NULL;
#  805|   

Error: COMPILER_WARNING (CWE-563): [#def119]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:830:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  830 |         register int32_t *buf;
#      |                           ^~~
#  828|   zdr_CREATE3args (ZDR *zdrs, CREATE3args *objp)
#  829|   {
#  830|-> 	register int32_t *buf;
#  831|   	buf = NULL;
#  832|   

Error: COMPILER_WARNING (CWE-563): [#def120]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_post_op_fh3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:843:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  843 |         register int32_t *buf;
#      |                           ^~~
#  841|   zdr_post_op_fh3 (ZDR *zdrs, post_op_fh3 *objp)
#  842|   {
#  843|-> 	register int32_t *buf;
#  844|   	buf = NULL;
#  845|   

Error: COMPILER_WARNING (CWE-563): [#def121]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:864:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  864 |         register int32_t *buf;
#      |                           ^~~
#  862|   zdr_CREATE3resok (ZDR *zdrs, CREATE3resok *objp)
#  863|   {
#  864|-> 	register int32_t *buf;
#  865|   	buf = NULL;
#  866|   

Error: COMPILER_WARNING (CWE-563): [#def122]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:879:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  879 |         register int32_t *buf;
#      |                           ^~~
#  877|   zdr_CREATE3resfail (ZDR *zdrs, CREATE3resfail *objp)
#  878|   {
#  879|-> 	register int32_t *buf;
#  880|   	buf = NULL;
#  881|   

Error: COMPILER_WARNING (CWE-563): [#def123]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:890:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  890 |         register int32_t *buf;
#      |                           ^~~
#  888|   zdr_CREATE3res (ZDR *zdrs, CREATE3res *objp)
#  889|   {
#  890|-> 	register int32_t *buf;
#  891|   	buf = NULL;
#  892|   

Error: COMPILER_WARNING (CWE-563): [#def124]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:911:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  911 |         register int32_t *buf;
#      |                           ^~~
#  909|   zdr_REMOVE3args (ZDR *zdrs, REMOVE3args *objp)
#  910|   {
#  911|-> 	register int32_t *buf;
#  912|   	buf = NULL;
#  913|   

Error: COMPILER_WARNING (CWE-563): [#def125]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:922:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  922 |         register int32_t *buf;
#      |                           ^~~
#  920|   zdr_REMOVE3resok (ZDR *zdrs, REMOVE3resok *objp)
#  921|   {
#  922|-> 	register int32_t *buf;
#  923|   	buf = NULL;
#  924|   

Error: COMPILER_WARNING (CWE-563): [#def126]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:933:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  933 |         register int32_t *buf;
#      |                           ^~~
#  931|   zdr_REMOVE3resfail (ZDR *zdrs, REMOVE3resfail *objp)
#  932|   {
#  933|-> 	register int32_t *buf;
#  934|   	buf = NULL;
#  935|   

Error: COMPILER_WARNING (CWE-563): [#def127]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:944:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  944 |         register int32_t *buf;
#      |                           ^~~
#  942|   zdr_REMOVE3res (ZDR *zdrs, REMOVE3res *objp)
#  943|   {
#  944|-> 	register int32_t *buf;
#  945|   	buf = NULL;
#  946|   

Error: COMPILER_WARNING (CWE-563): [#def128]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:965:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  965 |         register int32_t *buf;
#      |                           ^~~
#  963|   zdr_READ3args (ZDR *zdrs, READ3args *objp)
#  964|   {
#  965|-> 	register int32_t *buf;
#  966|   	buf = NULL;
#  967|   

Error: COMPILER_WARNING (CWE-563): [#def129]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:980:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  980 |         register int32_t *buf;
#      |                           ^~~
#  978|   zdr_READ3resok (ZDR *zdrs, READ3resok *objp)
#  979|   {
#  980|-> 	register int32_t *buf;
#  981|   	buf = NULL;
#  982|   

Error: COMPILER_WARNING (CWE-563): [#def130]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:997:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
#  997 |         register int32_t *buf;
#      |                           ^~~
#  995|   zdr_READ3resfail (ZDR *zdrs, READ3resfail *objp)
#  996|   {
#  997|-> 	register int32_t *buf;
#  998|   	buf = NULL;
#  999|   

Error: COMPILER_WARNING (CWE-563): [#def131]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1008:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1008 |         register int32_t *buf;
#      |                           ^~~
# 1006|   zdr_READ3res (ZDR *zdrs, READ3res *objp)
# 1007|   {
# 1008|-> 	register int32_t *buf;
# 1009|   	buf = NULL;
# 1010|   

Error: COMPILER_WARNING (CWE-563): [#def132]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSINFO3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1029:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1029 |         register int32_t *buf;
#      |                           ^~~
# 1027|   zdr_FSINFO3args (ZDR *zdrs, FSINFO3args *objp)
# 1028|   {
# 1029|-> 	register int32_t *buf;
# 1030|   	buf = NULL;
# 1031|   

Error: COMPILER_WARNING (CWE-563): [#def133]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSINFO3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1146:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1146 |         register int32_t *buf;
#      |                           ^~~
# 1144|   zdr_FSINFO3resfail (ZDR *zdrs, FSINFO3resfail *objp)
# 1145|   {
# 1146|-> 	register int32_t *buf;
# 1147|   	buf = NULL;
# 1148|   

Error: COMPILER_WARNING (CWE-563): [#def134]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSINFO3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1157:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1157 |         register int32_t *buf;
#      |                           ^~~
# 1155|   zdr_FSINFO3res (ZDR *zdrs, FSINFO3res *objp)
# 1156|   {
# 1157|-> 	register int32_t *buf;
# 1158|   	buf = NULL;
# 1159|   

Error: COMPILER_WARNING (CWE-563): [#def135]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSSTAT3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1178:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1178 |         register int32_t *buf;
#      |                           ^~~
# 1176|   zdr_FSSTAT3args (ZDR *zdrs, FSSTAT3args *objp)
# 1177|   {
# 1178|-> 	register int32_t *buf;
# 1179|   	buf = NULL;
# 1180|   

Error: COMPILER_WARNING (CWE-563): [#def136]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSSTAT3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1189:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1189 |         register int32_t *buf;
#      |                           ^~~
# 1187|   zdr_FSSTAT3resok (ZDR *zdrs, FSSTAT3resok *objp)
# 1188|   {
# 1189|-> 	register int32_t *buf;
# 1190|   	buf = NULL;
# 1191|   

Error: COMPILER_WARNING (CWE-563): [#def137]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSSTAT3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1214:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1214 |         register int32_t *buf;
#      |                           ^~~
# 1212|   zdr_FSSTAT3resfail (ZDR *zdrs, FSSTAT3resfail *objp)
# 1213|   {
# 1214|-> 	register int32_t *buf;
# 1215|   	buf = NULL;
# 1216|   

Error: COMPILER_WARNING (CWE-563): [#def138]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_FSSTAT3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1225:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1225 |         register int32_t *buf;
#      |                           ^~~
# 1223|   zdr_FSSTAT3res (ZDR *zdrs, FSSTAT3res *objp)
# 1224|   {
# 1225|-> 	register int32_t *buf;
# 1226|   	buf = NULL;
# 1227|   

Error: COMPILER_WARNING (CWE-563): [#def139]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_PATHCONF3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1246:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1246 |         register int32_t *buf;
#      |                           ^~~
# 1244|   zdr_PATHCONF3args (ZDR *zdrs, PATHCONF3args *objp)
# 1245|   {
# 1246|-> 	register int32_t *buf;
# 1247|   	buf = NULL;
# 1248|   

Error: COMPILER_WARNING (CWE-563): [#def140]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_PATHCONF3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1335:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1335 |         register int32_t *buf;
#      |                           ^~~
# 1333|   zdr_PATHCONF3resfail (ZDR *zdrs, PATHCONF3resfail *objp)
# 1334|   {
# 1335|-> 	register int32_t *buf;
# 1336|   	buf = NULL;
# 1337|   

Error: COMPILER_WARNING (CWE-563): [#def141]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_PATHCONF3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1346:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1346 |         register int32_t *buf;
#      |                           ^~~
# 1344|   zdr_PATHCONF3res (ZDR *zdrs, PATHCONF3res *objp)
# 1345|   {
# 1346|-> 	register int32_t *buf;
# 1347|   	buf = NULL;
# 1348|   

Error: COMPILER_WARNING (CWE-563): [#def142]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfspath3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1367:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1367 |         register int32_t *buf;
#      |                           ^~~
# 1365|   zdr_nfspath3 (ZDR *zdrs, nfspath3 *objp)
# 1366|   {
# 1367|-> 	register int32_t *buf;
# 1368|   	buf = NULL;
# 1369|   

Error: COMPILER_WARNING (CWE-563): [#def143]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_symlinkdata3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1378:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1378 |         register int32_t *buf;
#      |                           ^~~
# 1376|   zdr_symlinkdata3 (ZDR *zdrs, symlinkdata3 *objp)
# 1377|   {
# 1378|-> 	register int32_t *buf;
# 1379|   	buf = NULL;
# 1380|   

Error: COMPILER_WARNING (CWE-563): [#def144]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1391:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1391 |         register int32_t *buf;
#      |                           ^~~
# 1389|   zdr_SYMLINK3args (ZDR *zdrs, SYMLINK3args *objp)
# 1390|   {
# 1391|-> 	register int32_t *buf;
# 1392|   	buf = NULL;
# 1393|   

Error: COMPILER_WARNING (CWE-563): [#def145]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1404:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1404 |         register int32_t *buf;
#      |                           ^~~
# 1402|   zdr_SYMLINK3resok (ZDR *zdrs, SYMLINK3resok *objp)
# 1403|   {
# 1404|-> 	register int32_t *buf;
# 1405|   	buf = NULL;
# 1406|   

Error: COMPILER_WARNING (CWE-563): [#def146]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1419:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1419 |         register int32_t *buf;
#      |                           ^~~
# 1417|   zdr_SYMLINK3resfail (ZDR *zdrs, SYMLINK3resfail *objp)
# 1418|   {
# 1419|-> 	register int32_t *buf;
# 1420|   	buf = NULL;
# 1421|   

Error: COMPILER_WARNING (CWE-563): [#def147]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1430:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1430 |         register int32_t *buf;
#      |                           ^~~
# 1428|   zdr_SYMLINK3res (ZDR *zdrs, SYMLINK3res *objp)
# 1429|   {
# 1430|-> 	register int32_t *buf;
# 1431|   	buf = NULL;
# 1432|   

Error: COMPILER_WARNING (CWE-563): [#def148]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1451:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1451 |         register int32_t *buf;
#      |                           ^~~
# 1449|   zdr_READLINK3args (ZDR *zdrs, READLINK3args *objp)
# 1450|   {
# 1451|-> 	register int32_t *buf;
# 1452|   	buf = NULL;
# 1453|   

Error: COMPILER_WARNING (CWE-563): [#def149]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1462:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1462 |         register int32_t *buf;
#      |                           ^~~
# 1460|   zdr_READLINK3resok (ZDR *zdrs, READLINK3resok *objp)
# 1461|   {
# 1462|-> 	register int32_t *buf;
# 1463|   	buf = NULL;
# 1464|   

Error: COMPILER_WARNING (CWE-563): [#def150]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1475:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1475 |         register int32_t *buf;
#      |                           ^~~
# 1473|   zdr_READLINK3resfail (ZDR *zdrs, READLINK3resfail *objp)
# 1474|   {
# 1475|-> 	register int32_t *buf;
# 1476|   	buf = NULL;
# 1477|   

Error: COMPILER_WARNING (CWE-563): [#def151]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1486:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1486 |         register int32_t *buf;
#      |                           ^~~
# 1484|   zdr_READLINK3res (ZDR *zdrs, READLINK3res *objp)
# 1485|   {
# 1486|-> 	register int32_t *buf;
# 1487|   	buf = NULL;
# 1488|   

Error: COMPILER_WARNING (CWE-563): [#def152]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_devicedata3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1507:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1507 |         register int32_t *buf;
#      |                           ^~~
# 1505|   zdr_devicedata3 (ZDR *zdrs, devicedata3 *objp)
# 1506|   {
# 1507|-> 	register int32_t *buf;
# 1508|   	buf = NULL;
# 1509|   

Error: COMPILER_WARNING (CWE-563): [#def153]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_mknoddata3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1520:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1520 |         register int32_t *buf;
#      |                           ^~~
# 1518|   zdr_mknoddata3 (ZDR *zdrs, mknoddata3 *objp)
# 1519|   {
# 1520|-> 	register int32_t *buf;
# 1521|   	buf = NULL;
# 1522|   

Error: COMPILER_WARNING (CWE-563): [#def154]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKNOD3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1551:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1551 |         register int32_t *buf;
#      |                           ^~~
# 1549|   zdr_MKNOD3args (ZDR *zdrs, MKNOD3args *objp)
# 1550|   {
# 1551|-> 	register int32_t *buf;
# 1552|   	buf = NULL;
# 1553|   

Error: COMPILER_WARNING (CWE-563): [#def155]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKNOD3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1564:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1564 |         register int32_t *buf;
#      |                           ^~~
# 1562|   zdr_MKNOD3resok (ZDR *zdrs, MKNOD3resok *objp)
# 1563|   {
# 1564|-> 	register int32_t *buf;
# 1565|   	buf = NULL;
# 1566|   

Error: COMPILER_WARNING (CWE-563): [#def156]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKNOD3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1579:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1579 |         register int32_t *buf;
#      |                           ^~~
# 1577|   zdr_MKNOD3resfail (ZDR *zdrs, MKNOD3resfail *objp)
# 1578|   {
# 1579|-> 	register int32_t *buf;
# 1580|   	buf = NULL;
# 1581|   

Error: COMPILER_WARNING (CWE-563): [#def157]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKNOD3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1590:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1590 |         register int32_t *buf;
#      |                           ^~~
# 1588|   zdr_MKNOD3res (ZDR *zdrs, MKNOD3res *objp)
# 1589|   {
# 1590|-> 	register int32_t *buf;
# 1591|   	buf = NULL;
# 1592|   

Error: COMPILER_WARNING (CWE-563): [#def158]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1611:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1611 |         register int32_t *buf;
#      |                           ^~~
# 1609|   zdr_MKDIR3args (ZDR *zdrs, MKDIR3args *objp)
# 1610|   {
# 1611|-> 	register int32_t *buf;
# 1612|   	buf = NULL;
# 1613|   

Error: COMPILER_WARNING (CWE-563): [#def159]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1624:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1624 |         register int32_t *buf;
#      |                           ^~~
# 1622|   zdr_MKDIR3resok (ZDR *zdrs, MKDIR3resok *objp)
# 1623|   {
# 1624|-> 	register int32_t *buf;
# 1625|   	buf = NULL;
# 1626|   

Error: COMPILER_WARNING (CWE-563): [#def160]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1639:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1639 |         register int32_t *buf;
#      |                           ^~~
# 1637|   zdr_MKDIR3resfail (ZDR *zdrs, MKDIR3resfail *objp)
# 1638|   {
# 1639|-> 	register int32_t *buf;
# 1640|   	buf = NULL;
# 1641|   

Error: COMPILER_WARNING (CWE-563): [#def161]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1650:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1650 |         register int32_t *buf;
#      |                           ^~~
# 1648|   zdr_MKDIR3res (ZDR *zdrs, MKDIR3res *objp)
# 1649|   {
# 1650|-> 	register int32_t *buf;
# 1651|   	buf = NULL;
# 1652|   

Error: COMPILER_WARNING (CWE-563): [#def162]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1671:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1671 |         register int32_t *buf;
#      |                           ^~~
# 1669|   zdr_RMDIR3args (ZDR *zdrs, RMDIR3args *objp)
# 1670|   {
# 1671|-> 	register int32_t *buf;
# 1672|   	buf = NULL;
# 1673|   

Error: COMPILER_WARNING (CWE-563): [#def163]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1682:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1682 |         register int32_t *buf;
#      |                           ^~~
# 1680|   zdr_RMDIR3resok (ZDR *zdrs, RMDIR3resok *objp)
# 1681|   {
# 1682|-> 	register int32_t *buf;
# 1683|   	buf = NULL;
# 1684|   

Error: COMPILER_WARNING (CWE-563): [#def164]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1693:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1693 |         register int32_t *buf;
#      |                           ^~~
# 1691|   zdr_RMDIR3resfail (ZDR *zdrs, RMDIR3resfail *objp)
# 1692|   {
# 1693|-> 	register int32_t *buf;
# 1694|   	buf = NULL;
# 1695|   

Error: COMPILER_WARNING (CWE-563): [#def165]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1704:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1704 |         register int32_t *buf;
#      |                           ^~~
# 1702|   zdr_RMDIR3res (ZDR *zdrs, RMDIR3res *objp)
# 1703|   {
# 1704|-> 	register int32_t *buf;
# 1705|   	buf = NULL;
# 1706|   

Error: COMPILER_WARNING (CWE-563): [#def166]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1725:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1725 |         register int32_t *buf;
#      |                           ^~~
# 1723|   zdr_RENAME3args (ZDR *zdrs, RENAME3args *objp)
# 1724|   {
# 1725|-> 	register int32_t *buf;
# 1726|   	buf = NULL;
# 1727|   

Error: COMPILER_WARNING (CWE-563): [#def167]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1738:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1738 |         register int32_t *buf;
#      |                           ^~~
# 1736|   zdr_RENAME3resok (ZDR *zdrs, RENAME3resok *objp)
# 1737|   {
# 1738|-> 	register int32_t *buf;
# 1739|   	buf = NULL;
# 1740|   

Error: COMPILER_WARNING (CWE-563): [#def168]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1751:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1751 |         register int32_t *buf;
#      |                           ^~~
# 1749|   zdr_RENAME3resfail (ZDR *zdrs, RENAME3resfail *objp)
# 1750|   {
# 1751|-> 	register int32_t *buf;
# 1752|   	buf = NULL;
# 1753|   

Error: COMPILER_WARNING (CWE-563): [#def169]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1764:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1764 |         register int32_t *buf;
#      |                           ^~~
# 1762|   zdr_RENAME3res (ZDR *zdrs, RENAME3res *objp)
# 1763|   {
# 1764|-> 	register int32_t *buf;
# 1765|   	buf = NULL;
# 1766|   

Error: COMPILER_WARNING (CWE-563): [#def170]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIRPLUS3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1785:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1785 |         register int32_t *buf;
#      |                           ^~~
# 1783|   zdr_READDIRPLUS3args (ZDR *zdrs, READDIRPLUS3args *objp)
# 1784|   {
# 1785|-> 	register int32_t *buf;
# 1786|   	buf = NULL;
# 1787|   

Error: COMPILER_WARNING (CWE-563): [#def171]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_entryplus3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1804:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1804 |         register int32_t *buf;
#      |                           ^~~
# 1802|   zdr_entryplus3 (ZDR *zdrs, entryplus3 *objp)
# 1803|   {
# 1804|-> 	register int32_t *buf;
# 1805|   	buf = NULL;
# 1806|   

Error: COMPILER_WARNING (CWE-563): [#def172]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_dirlistplus3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1825:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1825 |         register int32_t *buf;
#      |                           ^~~
# 1823|   zdr_dirlistplus3 (ZDR *zdrs, dirlistplus3 *objp)
# 1824|   {
# 1825|-> 	register int32_t *buf;
# 1826|   	buf = NULL;
# 1827|   

Error: COMPILER_WARNING (CWE-563): [#def173]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIRPLUS3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1838:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1838 |         register int32_t *buf;
#      |                           ^~~
# 1836|   zdr_READDIRPLUS3resok (ZDR *zdrs, READDIRPLUS3resok *objp)
# 1837|   {
# 1838|-> 	register int32_t *buf;
# 1839|   	buf = NULL;
# 1840|   

Error: COMPILER_WARNING (CWE-563): [#def174]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIRPLUS3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1853:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1853 |         register int32_t *buf;
#      |                           ^~~
# 1851|   zdr_READDIRPLUS3resfail (ZDR *zdrs, READDIRPLUS3resfail *objp)
# 1852|   {
# 1853|-> 	register int32_t *buf;
# 1854|   	buf = NULL;
# 1855|   

Error: COMPILER_WARNING (CWE-563): [#def175]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIRPLUS3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1864:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1864 |         register int32_t *buf;
#      |                           ^~~
# 1862|   zdr_READDIRPLUS3res (ZDR *zdrs, READDIRPLUS3res *objp)
# 1863|   {
# 1864|-> 	register int32_t *buf;
# 1865|   	buf = NULL;
# 1866|   

Error: COMPILER_WARNING (CWE-563): [#def176]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1885:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1885 |         register int32_t *buf;
#      |                           ^~~
# 1883|   zdr_READDIR3args (ZDR *zdrs, READDIR3args *objp)
# 1884|   {
# 1885|-> 	register int32_t *buf;
# 1886|   	buf = NULL;
# 1887|   

Error: COMPILER_WARNING (CWE-563): [#def177]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_entry3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1902:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1902 |         register int32_t *buf;
#      |                           ^~~
# 1900|   zdr_entry3 (ZDR *zdrs, entry3 *objp)
# 1901|   {
# 1902|-> 	register int32_t *buf;
# 1903|   	buf = NULL;
# 1904|   

Error: COMPILER_WARNING (CWE-563): [#def178]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_dirlist3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1919:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1919 |         register int32_t *buf;
#      |                           ^~~
# 1917|   zdr_dirlist3 (ZDR *zdrs, dirlist3 *objp)
# 1918|   {
# 1919|-> 	register int32_t *buf;
# 1920|   	buf = NULL;
# 1921|   

Error: COMPILER_WARNING (CWE-563): [#def179]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1932:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1932 |         register int32_t *buf;
#      |                           ^~~
# 1930|   zdr_READDIR3resok (ZDR *zdrs, READDIR3resok *objp)
# 1931|   {
# 1932|-> 	register int32_t *buf;
# 1933|   	buf = NULL;
# 1934|   

Error: COMPILER_WARNING (CWE-563): [#def180]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1947:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1947 |         register int32_t *buf;
#      |                           ^~~
# 1945|   zdr_READDIR3resfail (ZDR *zdrs, READDIR3resfail *objp)
# 1946|   {
# 1947|-> 	register int32_t *buf;
# 1948|   	buf = NULL;
# 1949|   

Error: COMPILER_WARNING (CWE-563): [#def181]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1958:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1958 |         register int32_t *buf;
#      |                           ^~~
# 1956|   zdr_READDIR3res (ZDR *zdrs, READDIR3res *objp)
# 1957|   {
# 1958|-> 	register int32_t *buf;
# 1959|   	buf = NULL;
# 1960|   

Error: COMPILER_WARNING (CWE-563): [#def182]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1979:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1979 |         register int32_t *buf;
#      |                           ^~~
# 1977|   zdr_LINK3args (ZDR *zdrs, LINK3args *objp)
# 1978|   {
# 1979|-> 	register int32_t *buf;
# 1980|   	buf = NULL;
# 1981|   

Error: COMPILER_WARNING (CWE-563): [#def183]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:1992:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 1992 |         register int32_t *buf;
#      |                           ^~~
# 1990|   zdr_LINK3resok (ZDR *zdrs, LINK3resok *objp)
# 1991|   {
# 1992|-> 	register int32_t *buf;
# 1993|   	buf = NULL;
# 1994|   

Error: COMPILER_WARNING (CWE-563): [#def184]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2005:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2005 |         register int32_t *buf;
#      |                           ^~~
# 2003|   zdr_LINK3resfail (ZDR *zdrs, LINK3resfail *objp)
# 2004|   {
# 2005|-> 	register int32_t *buf;
# 2006|   	buf = NULL;
# 2007|   

Error: COMPILER_WARNING (CWE-563): [#def185]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2018:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2018 |         register int32_t *buf;
#      |                           ^~~
# 2016|   zdr_LINK3res (ZDR *zdrs, LINK3res *objp)
# 2017|   {
# 2018|-> 	register int32_t *buf;
# 2019|   	buf = NULL;
# 2020|   

Error: COMPILER_WARNING (CWE-563): [#def186]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_sattrguard3'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2039:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2039 |         register int32_t *buf;
#      |                           ^~~
# 2037|   zdr_sattrguard3 (ZDR *zdrs, sattrguard3 *objp)
# 2038|   {
# 2039|-> 	register int32_t *buf;
# 2040|   	buf = NULL;
# 2041|   

Error: COMPILER_WARNING (CWE-563): [#def187]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2060:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2060 |         register int32_t *buf;
#      |                           ^~~
# 2058|   zdr_SETATTR3args (ZDR *zdrs, SETATTR3args *objp)
# 2059|   {
# 2060|-> 	register int32_t *buf;
# 2061|   	buf = NULL;
# 2062|   

Error: COMPILER_WARNING (CWE-563): [#def188]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2075:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2075 |         register int32_t *buf;
#      |                           ^~~
# 2073|   zdr_SETATTR3resok (ZDR *zdrs, SETATTR3resok *objp)
# 2074|   {
# 2075|-> 	register int32_t *buf;
# 2076|   	buf = NULL;
# 2077|   

Error: COMPILER_WARNING (CWE-563): [#def189]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR3resfail'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2086:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2086 |         register int32_t *buf;
#      |                           ^~~
# 2084|   zdr_SETATTR3resfail (ZDR *zdrs, SETATTR3resfail *objp)
# 2085|   {
# 2086|-> 	register int32_t *buf;
# 2087|   	buf = NULL;
# 2088|   

Error: COMPILER_WARNING (CWE-563): [#def190]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2097:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2097 |         register int32_t *buf;
#      |                           ^~~
# 2095|   zdr_SETATTR3res (ZDR *zdrs, SETATTR3res *objp)
# 2096|   {
# 2097|-> 	register int32_t *buf;
# 2098|   	buf = NULL;
# 2099|   

Error: COMPILER_WARNING (CWE-563): [#def191]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_fhandle2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2118:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2118 |         register int32_t *buf;
#      |                           ^~~
# 2116|   zdr_fhandle2 (ZDR *zdrs, fhandle2 objp)
# 2117|   {
# 2118|-> 	register int32_t *buf;
# 2119|   	buf = NULL;
# 2120|   

Error: COMPILER_WARNING (CWE-563): [#def192]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_ftype2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2129:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2129 |         register int32_t *buf;
#      |                           ^~~
# 2127|   zdr_ftype2 (ZDR *zdrs, ftype2 *objp)
# 2128|   {
# 2129|-> 	register int32_t *buf;
# 2130|   	buf = NULL;
# 2131|   

Error: COMPILER_WARNING (CWE-563): [#def193]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_filename2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2340:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2340 |         register int32_t *buf;
#      |                           ^~~
# 2338|   zdr_filename2 (ZDR *zdrs, filename2 *objp)
# 2339|   {
# 2340|-> 	register int32_t *buf;
# 2341|   	buf = NULL;
# 2342|   

Error: COMPILER_WARNING (CWE-563): [#def194]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_path2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2351:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2351 |         register int32_t *buf;
#      |                           ^~~
# 2349|   zdr_path2 (ZDR *zdrs, path2 *objp)
# 2350|   {
# 2351|-> 	register int32_t *buf;
# 2352|   	buf = NULL;
# 2353|   

Error: COMPILER_WARNING (CWE-563): [#def195]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfsdata2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2362:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2362 |         register int32_t *buf;
#      |                           ^~~
# 2360|   zdr_nfsdata2 (ZDR *zdrs, nfsdata2 *objp)
# 2361|   {
# 2362|-> 	register int32_t *buf;
# 2363|   	buf = NULL;
# 2364|   

Error: COMPILER_WARNING (CWE-563): [#def196]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfscookie2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2373:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2373 |         register int32_t *buf;
#      |                           ^~~
# 2371|   zdr_nfscookie2 (ZDR *zdrs, nfscookie2 objp)
# 2372|   {
# 2373|-> 	register int32_t *buf;
# 2374|   	buf = NULL;
# 2375|   

Error: COMPILER_WARNING (CWE-563): [#def197]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_entry2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2384:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2384 |         register int32_t *buf;
#      |                           ^~~
# 2382|   zdr_entry2 (ZDR *zdrs, entry2 *objp)
# 2383|   {
# 2384|-> 	register int32_t *buf;
# 2385|   	buf = NULL;
# 2386|   

Error: COMPILER_WARNING (CWE-563): [#def198]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_diropargs2'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2401:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2401 |         register int32_t *buf;
#      |                           ^~~
# 2399|   zdr_diropargs2 (ZDR *zdrs, diropargs2 *objp)
# 2400|   {
# 2401|-> 	register int32_t *buf;
# 2402|   	buf = NULL;
# 2403|   

Error: COMPILER_WARNING (CWE-563): [#def199]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2414:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2414 |         register int32_t *buf;
#      |                           ^~~
# 2412|   zdr_GETATTR2args (ZDR *zdrs, GETATTR2args *objp)
# 2413|   {
# 2414|-> 	register int32_t *buf;
# 2415|   	buf = NULL;
# 2416|   

Error: COMPILER_WARNING (CWE-563): [#def200]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2425:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2425 |         register int32_t *buf;
#      |                           ^~~
# 2423|   zdr_GETATTR2resok (ZDR *zdrs, GETATTR2resok *objp)
# 2424|   {
# 2425|-> 	register int32_t *buf;
# 2426|   	buf = NULL;
# 2427|   

Error: COMPILER_WARNING (CWE-563): [#def201]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETATTR2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2436:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2436 |         register int32_t *buf;
#      |                           ^~~
# 2434|   zdr_GETATTR2res (ZDR *zdrs, GETATTR2res *objp)
# 2435|   {
# 2436|-> 	register int32_t *buf;
# 2437|   	buf = NULL;
# 2438|   

Error: COMPILER_WARNING (CWE-563): [#def202]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2455:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2455 |         register int32_t *buf;
#      |                           ^~~
# 2453|   zdr_SETATTR2args (ZDR *zdrs, SETATTR2args *objp)
# 2454|   {
# 2455|-> 	register int32_t *buf;
# 2456|   	buf = NULL;
# 2457|   

Error: COMPILER_WARNING (CWE-563): [#def203]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2468:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2468 |         register int32_t *buf;
#      |                           ^~~
# 2466|   zdr_SETATTR2resok (ZDR *zdrs, SETATTR2resok *objp)
# 2467|   {
# 2468|-> 	register int32_t *buf;
# 2469|   	buf = NULL;
# 2470|   

Error: COMPILER_WARNING (CWE-563): [#def204]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETATTR2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2479:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2479 |         register int32_t *buf;
#      |                           ^~~
# 2477|   zdr_SETATTR2res (ZDR *zdrs, SETATTR2res *objp)
# 2478|   {
# 2479|-> 	register int32_t *buf;
# 2480|   	buf = NULL;
# 2481|   

Error: COMPILER_WARNING (CWE-563): [#def205]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2498:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2498 |         register int32_t *buf;
#      |                           ^~~
# 2496|   zdr_LOOKUP2args (ZDR *zdrs, LOOKUP2args *objp)
# 2497|   {
# 2498|-> 	register int32_t *buf;
# 2499|   	buf = NULL;
# 2500|   

Error: COMPILER_WARNING (CWE-563): [#def206]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2509:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2509 |         register int32_t *buf;
#      |                           ^~~
# 2507|   zdr_LOOKUP2resok (ZDR *zdrs, LOOKUP2resok *objp)
# 2508|   {
# 2509|-> 	register int32_t *buf;
# 2510|   	buf = NULL;
# 2511|   

Error: COMPILER_WARNING (CWE-563): [#def207]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LOOKUP2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2522:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2522 |         register int32_t *buf;
#      |                           ^~~
# 2520|   zdr_LOOKUP2res (ZDR *zdrs, LOOKUP2res *objp)
# 2521|   {
# 2522|-> 	register int32_t *buf;
# 2523|   	buf = NULL;
# 2524|   

Error: COMPILER_WARNING (CWE-563): [#def208]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2541:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2541 |         register int32_t *buf;
#      |                           ^~~
# 2539|   zdr_READLINK2args (ZDR *zdrs, READLINK2args *objp)
# 2540|   {
# 2541|-> 	register int32_t *buf;
# 2542|   	buf = NULL;
# 2543|   

Error: COMPILER_WARNING (CWE-563): [#def209]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2552:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2552 |         register int32_t *buf;
#      |                           ^~~
# 2550|   zdr_READLINK2resok (ZDR *zdrs, READLINK2resok *objp)
# 2551|   {
# 2552|-> 	register int32_t *buf;
# 2553|   	buf = NULL;
# 2554|   

Error: COMPILER_WARNING (CWE-563): [#def210]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READLINK2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2563:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2563 |         register int32_t *buf;
#      |                           ^~~
# 2561|   zdr_READLINK2res (ZDR *zdrs, READLINK2res *objp)
# 2562|   {
# 2563|-> 	register int32_t *buf;
# 2564|   	buf = NULL;
# 2565|   

Error: COMPILER_WARNING (CWE-563): [#def211]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2582:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2582 |         register int32_t *buf;
#      |                           ^~~
# 2580|   zdr_READ2args (ZDR *zdrs, READ2args *objp)
# 2581|   {
# 2582|-> 	register int32_t *buf;
# 2583|   	buf = NULL;
# 2584|   

Error: COMPILER_WARNING (CWE-563): [#def212]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2599:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2599 |         register int32_t *buf;
#      |                           ^~~
# 2597|   zdr_READ2resok (ZDR *zdrs, READ2resok *objp)
# 2598|   {
# 2599|-> 	register int32_t *buf;
# 2600|   	buf = NULL;
# 2601|   

Error: COMPILER_WARNING (CWE-563): [#def213]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READ2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2612:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2612 |         register int32_t *buf;
#      |                           ^~~
# 2610|   zdr_READ2res (ZDR *zdrs, READ2res *objp)
# 2611|   {
# 2612|-> 	register int32_t *buf;
# 2613|   	buf = NULL;
# 2614|   

Error: COMPILER_WARNING (CWE-563): [#def214]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2693:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2693 |         register int32_t *buf;
#      |                           ^~~
# 2691|   zdr_WRITE2resok (ZDR *zdrs, WRITE2resok *objp)
# 2692|   {
# 2693|-> 	register int32_t *buf;
# 2694|   	buf = NULL;
# 2695|   

Error: COMPILER_WARNING (CWE-563): [#def215]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_WRITE2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2704:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2704 |         register int32_t *buf;
#      |                           ^~~
# 2702|   zdr_WRITE2res (ZDR *zdrs, WRITE2res *objp)
# 2703|   {
# 2704|-> 	register int32_t *buf;
# 2705|   	buf = NULL;
# 2706|   

Error: COMPILER_WARNING (CWE-563): [#def216]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2723:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2723 |         register int32_t *buf;
#      |                           ^~~
# 2721|   zdr_CREATE2args (ZDR *zdrs, CREATE2args *objp)
# 2722|   {
# 2723|-> 	register int32_t *buf;
# 2724|   	buf = NULL;
# 2725|   

Error: COMPILER_WARNING (CWE-563): [#def217]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2736:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2736 |         register int32_t *buf;
#      |                           ^~~
# 2734|   zdr_CREATE2resok (ZDR *zdrs, CREATE2resok *objp)
# 2735|   {
# 2736|-> 	register int32_t *buf;
# 2737|   	buf = NULL;
# 2738|   

Error: COMPILER_WARNING (CWE-563): [#def218]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_CREATE2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2749:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2749 |         register int32_t *buf;
#      |                           ^~~
# 2747|   zdr_CREATE2res (ZDR *zdrs, CREATE2res *objp)
# 2748|   {
# 2749|-> 	register int32_t *buf;
# 2750|   	buf = NULL;
# 2751|   

Error: COMPILER_WARNING (CWE-563): [#def219]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2768:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2768 |         register int32_t *buf;
#      |                           ^~~
# 2766|   zdr_REMOVE2args (ZDR *zdrs, REMOVE2args *objp)
# 2767|   {
# 2768|-> 	register int32_t *buf;
# 2769|   	buf = NULL;
# 2770|   

Error: COMPILER_WARNING (CWE-563): [#def220]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_REMOVE2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2779:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2779 |         register int32_t *buf;
#      |                           ^~~
# 2777|   zdr_REMOVE2res (ZDR *zdrs, REMOVE2res *objp)
# 2778|   {
# 2779|-> 	register int32_t *buf;
# 2780|   	buf = NULL;
# 2781|   

Error: COMPILER_WARNING (CWE-563): [#def221]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2790:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2790 |         register int32_t *buf;
#      |                           ^~~
# 2788|   zdr_RENAME2args (ZDR *zdrs, RENAME2args *objp)
# 2789|   {
# 2790|-> 	register int32_t *buf;
# 2791|   	buf = NULL;
# 2792|   

Error: COMPILER_WARNING (CWE-563): [#def222]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RENAME2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2803:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2803 |         register int32_t *buf;
#      |                           ^~~
# 2801|   zdr_RENAME2res (ZDR *zdrs, RENAME2res *objp)
# 2802|   {
# 2803|-> 	register int32_t *buf;
# 2804|   	buf = NULL;
# 2805|   

Error: COMPILER_WARNING (CWE-563): [#def223]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2814:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2814 |         register int32_t *buf;
#      |                           ^~~
# 2812|   zdr_LINK2args (ZDR *zdrs, LINK2args *objp)
# 2813|   {
# 2814|-> 	register int32_t *buf;
# 2815|   	buf = NULL;
# 2816|   

Error: COMPILER_WARNING (CWE-563): [#def224]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_LINK2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2827:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2827 |         register int32_t *buf;
#      |                           ^~~
# 2825|   zdr_LINK2res (ZDR *zdrs, LINK2res *objp)
# 2826|   {
# 2827|-> 	register int32_t *buf;
# 2828|   	buf = NULL;
# 2829|   

Error: COMPILER_WARNING (CWE-563): [#def225]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2838:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2838 |         register int32_t *buf;
#      |                           ^~~
# 2836|   zdr_SYMLINK2args (ZDR *zdrs, SYMLINK2args *objp)
# 2837|   {
# 2838|-> 	register int32_t *buf;
# 2839|   	buf = NULL;
# 2840|   

Error: COMPILER_WARNING (CWE-563): [#def226]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SYMLINK2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2853:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2853 |         register int32_t *buf;
#      |                           ^~~
# 2851|   zdr_SYMLINK2res (ZDR *zdrs, SYMLINK2res *objp)
# 2852|   {
# 2853|-> 	register int32_t *buf;
# 2854|   	buf = NULL;
# 2855|   

Error: COMPILER_WARNING (CWE-563): [#def227]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2864:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2864 |         register int32_t *buf;
#      |                           ^~~
# 2862|   zdr_MKDIR2args (ZDR *zdrs, MKDIR2args *objp)
# 2863|   {
# 2864|-> 	register int32_t *buf;
# 2865|   	buf = NULL;
# 2866|   

Error: COMPILER_WARNING (CWE-563): [#def228]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2877:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2877 |         register int32_t *buf;
#      |                           ^~~
# 2875|   zdr_MKDIR2resok (ZDR *zdrs, MKDIR2resok *objp)
# 2876|   {
# 2877|-> 	register int32_t *buf;
# 2878|   	buf = NULL;
# 2879|   

Error: COMPILER_WARNING (CWE-563): [#def229]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_MKDIR2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2890:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2890 |         register int32_t *buf;
#      |                           ^~~
# 2888|   zdr_MKDIR2res (ZDR *zdrs, MKDIR2res *objp)
# 2889|   {
# 2890|-> 	register int32_t *buf;
# 2891|   	buf = NULL;
# 2892|   

Error: COMPILER_WARNING (CWE-563): [#def230]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2909:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2909 |         register int32_t *buf;
#      |                           ^~~
# 2907|   zdr_RMDIR2args (ZDR *zdrs, RMDIR2args *objp)
# 2908|   {
# 2909|-> 	register int32_t *buf;
# 2910|   	buf = NULL;
# 2911|   

Error: COMPILER_WARNING (CWE-563): [#def231]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_RMDIR2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2920:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2920 |         register int32_t *buf;
#      |                           ^~~
# 2918|   zdr_RMDIR2res (ZDR *zdrs, RMDIR2res *objp)
# 2919|   {
# 2920|-> 	register int32_t *buf;
# 2921|   	buf = NULL;
# 2922|   

Error: COMPILER_WARNING (CWE-563): [#def232]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2931:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2931 |         register int32_t *buf;
#      |                           ^~~
# 2929|   zdr_READDIR2args (ZDR *zdrs, READDIR2args *objp)
# 2930|   {
# 2931|-> 	register int32_t *buf;
# 2932|   	buf = NULL;
# 2933|   

Error: COMPILER_WARNING (CWE-563): [#def233]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR2resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2946:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2946 |         register int32_t *buf;
#      |                           ^~~
# 2944|   zdr_READDIR2resok (ZDR *zdrs, READDIR2resok *objp)
# 2945|   {
# 2946|-> 	register int32_t *buf;
# 2947|   	buf = NULL;
# 2948|   

Error: COMPILER_WARNING (CWE-563): [#def234]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_READDIR2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2959:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2959 |         register int32_t *buf;
#      |                           ^~~
# 2957|   zdr_READDIR2res (ZDR *zdrs, READDIR2res *objp)
# 2958|   {
# 2959|-> 	register int32_t *buf;
# 2960|   	buf = NULL;
# 2961|   

Error: COMPILER_WARNING (CWE-563): [#def235]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_STATFS2args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:2978:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 2978 |         register int32_t *buf;
#      |                           ^~~
# 2976|   zdr_STATFS2args (ZDR *zdrs, STATFS2args *objp)
# 2977|   {
# 2978|-> 	register int32_t *buf;
# 2979|   	buf = NULL;
# 2980|   

Error: COMPILER_WARNING (CWE-563): [#def236]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_STATFS2res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3053:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3053 |         register int32_t *buf;
#      |                           ^~~
# 3051|   zdr_STATFS2res (ZDR *zdrs, STATFS2res *objp)
# 3052|   {
# 3053|-> 	register int32_t *buf;
# 3054|   	buf = NULL;
# 3055|   

Error: COMPILER_WARNING (CWE-563): [#def237]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfsacl_type'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3072:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3072 |         register int32_t *buf;
#      |                           ^~~
# 3070|   zdr_nfsacl_type (ZDR *zdrs, nfsacl_type *objp)
# 3071|   {
# 3072|-> 	register int32_t *buf;
# 3073|   	buf = NULL;
# 3074|   

Error: COMPILER_WARNING (CWE-563): [#def238]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_nfsacl_ace'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3083:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3083 |         register int32_t *buf;
#      |                           ^~~
# 3081|   zdr_nfsacl_ace (ZDR *zdrs, nfsacl_ace *objp)
# 3082|   {
# 3083|-> 	register int32_t *buf;
# 3084|   	buf = NULL;
# 3085|   

Error: COMPILER_WARNING (CWE-563): [#def239]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETACL3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3098:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3098 |         register int32_t *buf;
#      |                           ^~~
# 3096|   zdr_GETACL3args (ZDR *zdrs, GETACL3args *objp)
# 3097|   {
# 3098|-> 	register int32_t *buf;
# 3099|   	buf = NULL;
# 3100|   

Error: COMPILER_WARNING (CWE-563): [#def240]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETACL3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3111:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3111 |         register int32_t *buf;
#      |                           ^~~
# 3109|   zdr_GETACL3resok (ZDR *zdrs, GETACL3resok *objp)
# 3110|   {
# 3111|-> 	register int32_t *buf;
# 3112|   	buf = NULL;
# 3113|   

Error: COMPILER_WARNING (CWE-563): [#def241]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_GETACL3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3134:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3134 |         register int32_t *buf;
#      |                           ^~~
# 3132|   zdr_GETACL3res (ZDR *zdrs, GETACL3res *objp)
# 3133|   {
# 3134|-> 	register int32_t *buf;
# 3135|   	buf = NULL;
# 3136|   

Error: COMPILER_WARNING (CWE-563): [#def242]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETACL3args'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3153:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3153 |         register int32_t *buf;
#      |                           ^~~
# 3151|   zdr_SETACL3args (ZDR *zdrs, SETACL3args *objp)
# 3152|   {
# 3153|-> 	register int32_t *buf;
# 3154|   	buf = NULL;
# 3155|   

Error: COMPILER_WARNING (CWE-563): [#def243]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETACL3resok'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3176:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3176 |         register int32_t *buf;
#      |                           ^~~
# 3174|   zdr_SETACL3resok (ZDR *zdrs, SETACL3resok *objp)
# 3175|   {
# 3176|-> 	register int32_t *buf;
# 3177|   	buf = NULL;
# 3178|   

Error: COMPILER_WARNING (CWE-563): [#def244]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c: scope_hint: In function 'zdr_SETACL3res'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/libnfs-raw-nfs.c:3187:27: warning[-Wunused-but-set-variable]: variable 'buf' set but not used
# 3187 |         register int32_t *buf;
#      |                           ^~~
# 3185|   zdr_SETACL3res (ZDR *zdrs, SETACL3res *objp)
# 3186|   {
# 3187|-> 	register int32_t *buf;
# 3188|   	buf = NULL;
# 3189|   

Error: CPPCHECK_WARNING: [#def245]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/nfs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-569): [#def246]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/nfs.c: scope_hint: In function 'rpc_nfs3_write_async'
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs/nfs.c:381:40: warning[-Wparentheses]: suggest parentheses around '-' in operand of '&'
#  381 |                                      4 - args->data.data_len & 0x03,
#      |                                      ~~^~~~~~~~~~~~~~~~~~~~~
#  379|           if (args->data.data_len & 0x03) {
#  380|                   if (rpc_add_iovector(rpc, &pdu->out, (char *)&zero_padding,
#  381|->                                      4 - args->data.data_len & 0x03,
#  382|                                        NULL) < 0) {
#  383|                           rpc_free_pdu(rpc, pdu);

Error: CPPCHECK_WARNING: [#def247]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nfs4/libnfs-raw-nfs4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def248]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nlm/libnfs-raw-nlm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def249]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nlm/nlm.c:196:8: warning[deadcode.DeadStores]: Value stored to 'str' during its initialization is never read
#  194|   	enum nlmstat4 stat = st;
#  195|   
#  196|-> 	char *str = "unknown nlm stat";
#  197|   	switch (stat) {
#  198|   	case NLM4_GRANTED: str="NLM4_GRANTED";break;

Error: CLANG_WARNING: [#def250]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/nsm/nsm.c:190:8: warning[deadcode.DeadStores]: Value stored to 'str' during its initialization is never read
#  188|   	enum nsmstat1 stat = st;
#  189|   
#  190|-> 	char *str = "unknown n1m stat";
#  191|   	switch (stat) {
#  192|   	case NSM_STAT_SUCC: str="NSM_STAT_SUCC";break;

Error: CPPCHECK_WARNING: [#def251]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/portmap/libnfs-raw-portmap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def252]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/rquota/libnfs-raw-rquota.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def253]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-cat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def254]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-cat.c: scope_hint: In function ‘main’
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-cat.c:150:13: warning[-Wunused-variable]: unused variable ‘ret’
#  150 |         int ret;
#      |             ^~~
#  148|   int main(int argc, char *argv[])
#  149|   {
#  150|-> 	int ret;
#  151|   	struct file_context *nf;
#  152|   	struct nfs_stat_64 st;

Error: CPPCHECK_WARNING: [#def255]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-cp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def256]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-563): [#def257]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c: scope_hint: At top level
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c:241:13: warning[-Wunused-variable]: ‘buf’ defined but not used
#  241 | static char buf[BUFSIZE];
#      |             ^~~
#  239|   
#  240|   #define BUFSIZE 1024*1024
#  241|-> static char buf[BUFSIZE];
#  242|   
#  243|   int main(int argc, char *argv[])

Error: COMPILER_WARNING (CWE-563): [#def258]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c:245:13: warning[-Wunused-variable]: unused variable ‘ret’
#  245 |         int ret;
#      |             ^~~
#  243|   int main(int argc, char *argv[])
#  244|   {
#  245|-> 	int ret;
#  246|   	struct file_context *nf;
#  247|   	struct nfs_stat_64 st;

Error: COMPILER_WARNING (CWE-563): [#def259]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c:248:18: warning[-Wunused-variable]: unused variable ‘off’
#  248 |         uint64_t off;
#      |                  ^~~
#  246|   	struct file_context *nf;
#  247|   	struct nfs_stat_64 st;
#  248|-> 	uint64_t off;
#  249|   	int64_t count;
#  250|   	

Error: COMPILER_WARNING (CWE-563): [#def260]
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c: scope_hint: In function ‘main’
libnfs-5.0.3-build/libnfs-libnfs-5.0.3/utils/nfs-stat.c:249:17: warning[-Wunused-variable]: unused variable ‘count’
#  249 |         int64_t count;
#      |                 ^~~~~
#  247|   	struct nfs_stat_64 st;
#  248|   	uint64_t off;
#  249|-> 	int64_t count;
#  250|   	
#  251|   #ifdef WIN32

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-168.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibnfs-5.0.3-1.fc41
store-results-to/tmp/tmpjor9m6s7/libnfs-5.0.3-1.fc41.tar.xz
time-created2024-07-03 15:51:43
time-finished2024-07-03 15:52:59
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjor9m6s7/libnfs-5.0.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjor9m6s7/libnfs-5.0.3-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9