search for: __tandem

Displaying 8 results from an estimated 8 matches for "__tandem".

2025 Jan 15
2
new release 3.4.0 - critical security release
...ix for the situation: diff --git a/popt/findme.c b/popt/findme.c index ac4cbae..4fe8a18 100644 --- a/popt/findme.c +++ b/popt/findme.c @@ -25,12 +25,23 @@ const char * findProgramPath(const char * argv0) if (path == NULL) return NULL; bufsize = strlen(path) + 1; +#if defined __TANDEM + start = pathbuf = malloc(bufsize); +#else start = pathbuf = alloca(bufsize); +#endif if (pathbuf == NULL) return NULL; /* XXX can't happen */ strlcpy(pathbuf, path, bufsize); bufsize += sizeof "/" - 1 + strlen(argv0); buf = malloc(bufsize); +#if...
2015 Apr 13
3
[Compile Issue] netcat.c on HP NonStop
Greetings, I am porting the openssh-portable 6.8 release to the HP NonStop (NSE) platform. Prior versions were no real problem, with minor tweeks. However, with the inclusion of regress/netcat.c, which depends on arpa/telnet.h, we have an issue. Unfortunately, the platform does not have this file, nor anything like it - telnet is done rather differently. We do have a version of netcat (0.7.1
2025 Jan 14
1
new release 3.4.0 - critical security release
...ix for the situation: diff --git a/popt/findme.c b/popt/findme.c index ac4cbae..4fe8a18 100644 --- a/popt/findme.c +++ b/popt/findme.c @@ -25,12 +25,23 @@ const char * findProgramPath(const char * argv0) if (path == NULL) return NULL; bufsize = strlen(path) + 1; +#if defined __TANDEM + start = pathbuf = malloc(bufsize); +#else start = pathbuf = alloca(bufsize); +#endif if (pathbuf == NULL) return NULL; /* XXX can't happen */ strlcpy(pathbuf, path, bufsize); bufsize += sizeof "/" - 1 + strlen(argv0); buf = malloc(bufsize); +#if...
2025 Jan 15
1
new release 3.4.0 - critical security release
...t; *index ac4cbae..4fe8a18 100644* > > *--- a/popt/findme.c* > > *+++ b/popt/findme.c* > > @@ -25,12 +25,23 @@ const char * findProgramPath(const char * argv0) > > if (path == NULL) return NULL; > > > > bufsize = strlen(path) + 1; > > +#if defined __TANDEM > > + start = pathbuf = malloc(bufsize); > > +#else > > start = pathbuf = alloca(bufsize); > > +#endif > > if (pathbuf == NULL) return NULL; /* XXX can't happen */ > > strlcpy(pathbuf, path, bufsize); > > bufsize += sizeof "...
2025 Jan 15
1
new release 3.4.0 - critical security release
...- a/popt/findme.c* >> >> *+++ b/popt/findme.c* >> >> @@ -25,12 +25,23 @@ const char * findProgramPath(const char * argv0) >> >> if (path == NULL) return NULL; >> >> >> >> bufsize = strlen(path) + 1; >> >> +#if defined __TANDEM >> >> + start = pathbuf = malloc(bufsize); >> >> +#else >> >> start = pathbuf = alloca(bufsize); >> >> +#endif >> >> if (pathbuf == NULL) return NULL; /* XXX can't happen */ >> >> strlcpy(pathbuf, path, b...
2025 Jan 14
1
new release 3.4.0 - critical security release
...on NonStop x86 and ia64. I have been building/packaging Rsync for years ? almost a decade in fact. I think this happened once before this year, in fact. It is equivalent to the more portable malloc/free, which I would prefer to have in this series even if it has to be wrapped in a #if defined (__TANDEM) block. This call is considered not portable and allocates on the stack instead of the heap. This can cause performance issues as memory management on the heap is generally given more attention by runtimes. The reason it is not supported on NonStop is that the c99 compiler does not generate cod...
2025 Jan 15
1
new release 3.4.0 - critical security release
...ix for the situation: diff --git a/popt/findme.c b/popt/findme.c index ac4cbae..4fe8a18 100644 --- a/popt/findme.c +++ b/popt/findme.c @@ -25,12 +25,23 @@ const char * findProgramPath(const char * argv0) if (path == NULL) return NULL; bufsize = strlen(path) + 1; +#if defined __TANDEM + start = pathbuf = malloc(bufsize); +#else start = pathbuf = alloca(bufsize); +#endif if (pathbuf == NULL) return NULL; /* XXX can't happen */ strlcpy(pathbuf, path, bufsize); bufsize += sizeof "/" - 1 + strlen(argv0); buf = malloc(bufsize); +#if...
2025 Jan 14
2
new release 3.4.0 - critical security release
the alloca comes from the new popt release. What system are you having an issue with? On Wed, 15 Jan 2025 at 07:16, <rsbecker at nexbridge.com> wrote: > A new dependency was added since 3.3, alloca(), which is not portable. Is > there a way around this? > > Thanks, > > Randall > > > > *From:* rsync <rsync-bounces at lists.samba.org> *On Behalf Of