Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Andreas_Schwab:Factory
nfs-utils
nfs-utils-uninit-mem.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nfs-utils-uninit-mem.patch of Package nfs-utils
Index: nfs-utils-1.3.3/utils/mount/network.c =================================================================== --- nfs-utils-1.3.3.orig/utils/mount/network.c +++ nfs-utils-1.3.3/utils/mount/network.c @@ -1626,7 +1626,10 @@ int nfs_options2pmap(struct mount_option return 0; if (!nfs_nfs_version(options, &version)) return 0; - nfs_pmap->pm_vers = version.major; + if (version.v_mode == V_DEFAULT) + nfs_pmap->pm_vers = 0; + else + nfs_pmap->pm_vers = version.major; if (!nfs_nfs_protocol(options, &nfs_pmap->pm_prot)) return 0; if (!nfs_nfs_port(options, &nfs_pmap->pm_port))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor