Bugzilla – Attachment 70077 Details for
Bug 142251
VUL-0: kernel: dm-crypt information leak
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
The patch from 9.3
util-linux-2.12-mountfallback.patch (text/plain), 981 bytes, created by
Neil Brown
on 2006-02-24 00:09:56 UTC
(
hide
)
Description:
The patch from 9.3
Filename:
MIME Type:
Creator:
Neil Brown
Created:
2006-02-24 00:09:56 UTC
Size:
981 bytes
patch
obsolete
>--- util-linux-2.12q/mount/nfsmount.c >+++ util-linux-2.12q/mount/nfsmount.c >@@ -169,8 +169,20 @@ > } > if (!p.pm_vers) > p.pm_vers = MOUNTVERS; >- if (!p.pm_prot) >+ if (!p.pm_prot) { > p.pm_prot = IPPROTO_TCP; >+ if (!p.pm_port) { >+ p.pm_port = pmap_getport(server_addr, >+ p.pm_prog, p.pm_vers, p.pm_prot); >+ } >+ /* Fall back to UDP if there's no TCP registration for mount */ >+ if (!p.pm_port) { >+ fprintf(stderr, "mount server reported tcp not available, falling back to udp\n"); >+ p.pm_prot = IPPROTO_UDP; >+ p.pm_port = pmap_getport(server_addr, >+ p.pm_prog, p.pm_vers, p.pm_prot); >+ } >+ } > #if 0 > if (!p.pm_port) { > p.pm_port = pmap_getport(server_addr, p.pm_prog, p.pm_vers, >@@ -584,7 +596,8 @@ > pm_mnt = get_mountport(&mount_server_addr, > mountprog, > mountvers, >- proto, >+ 0, /* TCP or UDP: pick >+ whatever is available */ > mountport, > nfs_mount_version); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 142251
: 70077