[PATCH mig] Server routines: ensure that strings in the request are null terminated before calling the server routine

2025-02-09 Thread Flavio Cruz
--- server.c | 8 1 file changed, 8 insertions(+) diff --git a/server.c b/server.c index 8da231c..9d25573 100644 --- a/server.c +++ b/server.c @@ -766,6 +766,14 @@ WriteExtractArg(FILE *file, const argument_t *arg) WriteInitializeCount(file, arg); } +/* Ensure stri

[PATCH glibc] mig_strncpy: ensure destination string is null terminated

2025-02-09 Thread Flavio Cruz
--- mach/mig_strncpy.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mach/mig_strncpy.c b/mach/mig_strncpy.c index b0c001d775..dbd0a08e56 100644 --- a/mach/mig_strncpy.c +++ b/mach/mig_strncpy.c @@ -6,6 +6,14 @@ vm_size_t __mig_strncpy (char *dst, const char *src,

[PATCH gnumach] mig_strncpy: ensure destination string is null terminated

2025-02-09 Thread Flavio Cruz
--- kern/ipc_mig.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c index 18ac88ef..b6543703 100644 --- a/kern/ipc_mig.c +++ b/kern/ipc_mig.c @@ -273,10 +273,12 @@ mig_put_reply_port( /* * mig_strncpy.c - by Joshua B

[PATCH hurd] Allow compilation with -O0

2025-02-09 Thread Flavio Cruz
* libshouldbeinlibc/lcm.c: make gcd static since it's not exposed as a symbol. * pfinet/linux-src/net/ipv4/{tcp,udp}_ipv4.c: mark lookup functions as extern since they are used in another module (icmp.c) and shouldn't be removed. * term/munge.c: make poutput static since it's not exposed as a

Fwd: Fwd: Bug#1029097 closed by Sam Hartman (No Answer to Questions; closing)

2025-02-09 Thread Svante Signell
--- Begin Message --- Hello, Please reopen that bug. I did not see the mail you refer to. > control: tags -1 wontfix > > Hi. I asked for clarification of whether this patch was correct. > In particular, I asked whether the patch was masking a legitimate test > failure and why the test should be

Fwd: Bug#1029097 closed by Sam Hartman (No Answer to Questions; closing)

2025-02-09 Thread Svante Signell
--- Begin Message --- This is an automatic notification regarding your Bug report which was filed against the src:pam package: #1029097: pam: FTBFS on hurd-i386 It has been closed by Sam Hartman . Their explanation is attached below along with your original report. If this explanation is unsati