search for: portmap_fil

Displaying 5 results from an estimated 5 matches for "portmap_fil".

Did you mean: portmap_file
2011 Jun 10
0
[PATCH] nfsmount: free rem_name on errors
...ree(rem_name); return 1; } @@ -221,6 +222,7 @@ int nfsmount_main(int argc, char *argv[]) if (*rem_path != '/') { fprintf(stderr, "%s: need a path\n", progname); + free(rem_name); return 1; } @@ -239,8 +241,10 @@ int nfsmount_main(int argc, char *argv[]) if (portmap_file) spoof_portmap = start_dummy_portmap(portmap_file); - if (spoof_portmap == -1) + if (spoof_portmap == -1) { + free(rem_name); return 1; + } #endif ret = 0; -- 1.7.5.3
2012 Jan 11
1
[PATCH] nfsmount: defeat dummypmap compiler warning
...2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/usr/kinit/nfsmount/dummypmap.c b/usr/kinit/nfsmount/dummypmap.c index 7c5b6bc..7c4da35 100644 --- a/usr/kinit/nfsmount/dummypmap.c +++ b/usr/kinit/nfsmount/dummypmap.c @@ -150,7 +150,7 @@ static int dummy_portmap(int sock, FILE *portmap_file) int pktlen, addrlen; unsigned char pkt[65536]; /* Max UDP packet size */ /* RPC UDP packets do not include TCP fragment size */ - struct rpc_call *rpc = (struct rpc_call *) &pkt[-4]; + struct rpc_call *rpc = (struct rpc_call *)((uintptr_t)pkt - 4); struct rpc_auth *cred; struct rpc_...
2008 Jun 05
2
RESEND [PATCH][BUGFIX] Fix termination of the spoofing portmapper
Hi, I'm resending since I got no feedback: I assume that the message was lost... The attached patch fixes a few bugs related to the spoofing portmapper used by nfsmount. Regards, Louis -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes -------------- next part
2020 Nov 09
4
[[PATCH v1 0/3] Fix clang build warnings
New clangs emit some warnings. The code isn't wrong, but should be updated to prevent warning creep. Bill Wendling (3): [klibc] dash: shell: Fix clang warnings [klibc] dash: shell: Fix clang warnings about format string [klibc] Kbuild: use an enum to silence a clang warning usr/dash/eval.c | 6 +++--- usr/dash/jobs.c | 2 +- usr/kinit/nfsmount/dummypmap.c
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about. The goal is not to be 100% checkpatch compliant, but to have more consistent coding style. As this is a trivial patch serie, will land in 24 hours in klibc git, unless of course ml review hits a bugger. Checked with size(3) that the generated kinit, fstype, ipconfig and nfsmount are the same. maximilian attems (4): [klibc] ipconfig: reduce