Displaying 15 results from an estimated 15 matches for "broken_snprintf".
2002 Apr 03
2
cross compilation?
...eyinfo(""); ff=""; return 0; }
+
#include <stdio.h>
+
#include <skey.h>
+
],
+
[
+
char *ff = skey_keyinfo(""); ff="";
],
[AC_MSG_RESULT(yes)],
[
@@ -625,6 +613,10 @@
AC_MSG_RESULT(no)
AC_DEFINE(BROKEN_SNPRINTF)
AC_MSG_WARN([****** Your snprintf() function is broken, complain to your
vendor])
+
],
+
[
+
AC_MSG_RESULT(assuming no)
+
AC_DEFINE(BROKEN_SNPRINTF)
]
)
fi
@@ -729,22 +721,21 @@
# Basic test to check for compatible version and correct linking
# *does not* t...
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...ESULT(no) ]
)
fi
@@ -626,6 +617,7 @@
}
],
[ ac_cv_have_broken_dirname="no" ],
+
[ ac_cv_have_broken_dirname="yes" ],
[ ac_cv_have_broken_dirname="yes" ]
)
LIBS="$save_LIBS"
@@ -670,6 +662,10 @@
AC_MSG_RESULT(no)
AC_DEFINE(BROKEN_SNPRINTF)
AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
+
],
+
[
+
AC_MSG_RESULT(assuming no)
+
AC_DEFINE(BROKEN_SNPRINTF)
]
)
fi
@@ -784,6 +780,10 @@
[
AC_MSG_RESULT(no)
AC_MSG_ERROR(Your OpenSSL headers do not match your library)
+
],
+
[
+
AC_M...
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
...@@ -668,6 +675,9 @@
[
AC_MSG_RESULT(no)
AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
+ ],
+ [AC_MSG_RESULT(yes)
+ AC_MSG_WARN([Cannot run test when crosscompiling, defaulted to yes.])
])
fi
]
@@ -803,6 +813,9 @@
AC_MSG_RESULT(no)
AC_DEFINE(BROKEN_SNPRINTF)
AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
+ ],
+ [AC_MSG_RESULT(yes)
+ AC_MSG_WARN([Cannot run test when crosscompiling, defaulted to yes.])
]
)
fi
@@ -876,6 +889,10 @@
[
AC_MSG_RESULT(no)
AC_DEFINE(SSHD_ACQUIRES_CTTY)
+ ],
+ [
+...
2002 Feb 22
2
Weird problems on solaris 7 & 8
...ll the arguments get shifted. This breaks
all sorts of things in all sorts of horrible ways. Some basic
experimentation seems to indicate that if I take the .100 bit out and
just leave %s behind that things will work. This is obviously the wrong
fix. Note that this happens regardless of whether BROKEN_SNPRINTF is
defined or not. (it isn't by default, but adding it to the top of
bsd-snprintf.c and recompiling doesn't seem to help any.)
Any ideas?
--jeh
(Note I'm not subscribed, so please cc: me. Thanks!)
2005 Dec 16
4
[Bug 1133] configure.ac sets wrong BROKEN_ var (snprintf/vsnprintf)
...nt
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo: bitbucket at mindrot.org
ReportedBy: dleonard at vintela.com
The autoconf.ac test for a broken vsnprintf sets BROKEN_SNPRINTF instead of
BROKEN_VSNPRINTF.
This causes breakage on HP-UX 11.00, because the (otherwise usable) snprintf
prototype in stdio.h doesn't agree with the replacement provided by OpenSSH.
Output from openssh-SNAP-20051213's configure is:
checking whether snprintf correctly terminates long s...
2000 Sep 05
3
[2.2.0p1] patch: generic detection of correct getpgrp() invocation
...84,6 +284,8 @@
)
fi
+AC_FUNC_GETPGRP
+
PAM_MSG="no"
AC_ARG_WITH(pam,
[ --without-pam Disable PAM support ],
--- config.h.in.orig-2.2.0p1 Fri Sep 1 19:08:44 2000
+++ config.h.in Tue Sep 5 11:01:57 2000
@@ -46,6 +46,9 @@
/* Define if your snprintf is busted */
#undef BROKEN_SNPRINTF
+/* Define if getpgrp takes no argument */
+#undef GETPGRP_VOID
+
/* Define if you are on NeXT */
#undef HAVE_NEXT
--- defines.h.orig-2.2.0p1 Mon Aug 28 20:33:51 2000
+++ defines.h Tue Sep 5 11:31:36 2000
@@ -322,6 +322,10 @@
# define atexit(a) on_exit(a)
#endif /* !defined(HAVE_ATEXIT) &a...
2001 Feb 25
1
Problem with sftp-server on Tru64 (long long type and %ll)
The ls_file function in sftp-server.c calls snprintf with "%8llu" as
part of the format string and a "unsigned long long" type argument.
The "%ll" format is not a valid format on Tru64 (at least 4.0F).
Apparently it can confuse snprintf as well - sftp-server will segfault
and core dump if the user types "ls".
This isn't really a needed format string on
2014 Oct 28
3
[Bug 2301] New: test_sshbuf_misc.c:44 ASSERT_INT_NE(feof(out), 0) failed
https://bugzilla.mindrot.org/show_bug.cgi?id=2301
Bug ID: 2301
Summary: test_sshbuf_misc.c:44 ASSERT_INT_NE(feof(out), 0)
failed
Product: Portable OpenSSH
Version: 6.7p1
Hardware: MIPS
OS: IRIX
Status: NEW
Severity: enhancement
Priority: P5
Component: Regression
2001 Feb 13
1
configure.in reorder patch
...;xyes" ; then
- AC_MSG_CHECKING([whether snprintf correctly terminates long strings])
- AC_TRY_RUN(
- [
-#include <stdio.h>
-int main(void){char b[5];snprintf(b,5,"123456789");return(b[4]!='\0');}
- ],
- [AC_MSG_RESULT(yes)],
- [
- AC_MSG_RESULT(no)
- AC_DEFINE(BROKEN_SNPRINTF)
- AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
- ]
- )
-fi
-
-AC_FUNC_GETPGRP
-
-AC_FUNC_STRFTIME
-
# Check for PAM libs
PAM_MSG="no"
AC_ARG_WITH(pam,
@@ -452,7 +400,7 @@
LDFLAGS="$saved_LDFLAGS"
fi
- LIBS="$saved_LIBS -...
2001 Feb 22
3
Problems with sftp under SCO OpenServer
Hello,
I compiled OpenSSH 2.5.1p1 for SCO OpenServer 5.0.5, HPUX B.11.00, and
SunOS 5.7. When I sftp into the HP or Sun box, everything works fine.
However, whenever I sftp into the OpenServer box, all remote filenames
are shown as "(null)". File sizes, owners, etc. display properly. This
behavior is exhibited from all origination points.
OpenSSH was configured with identical
2006 Mar 17
3
[Bug 1173] scp reports lost connection for very large files
...s used is the one in openbsd-compat/bsd-snprintf.c not
the native HP-UX one. Output from 'configure' shows the following
checking whether vsnprintf returns correct values on overflow... no
configure: WARNING: ****** Your vsnprintf() function is broken, complain to
your vendor
Consequently BROKEN_SNPRINTF gets defined in config.h and snprintf() definition
comes from openbsd-compat/bsd-snprintf.c.
Here are relevant lines from bsd-snprintf.c line 470
static void fmtint(char *buffer, size_t *currlen, size_t maxlen,
long value, int base, int min, int max, int flags)
{
int s...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...*/
#define HAVE_CONTROL_IN_MSGHDR 1
/* #undef BROKEN_INET_NTOA */
#define HAVE_SYS_ERRLIST 1
#define HAVE_SYS_NERR 1
/* #undef IP_TOS_IS_BROKEN */
/* #undef HAVE_GETUSERATTR */
#define HAVE_BASENAME 1
#define PAM_TTY_KLUDGE 1
/* #undef SSHPAM_CHAUTHTOK_NEEDS_RUID */
/* #undef USE_PIPES */
/* #undef BROKEN_SNPRINTF */
/* #undef HAVE_CYGWIN */
/* #undef BROKEN_REALPATH */
/* #undef HAVE_NEXT */
/* #undef USE_PAM */
/* #undef WITH_AIXAUTHENTICATE */
/* #undef AIX_LOGINFAILED_4ARG */
/* #undef SKEYCHALLENGE_4ARG */
/* #undef WITH_IRIX_ARRAY */
/* #undef WITH_IRIX_PROJECT */
/* #undef WITH_IRIX_AUDIT */
/* #undef...
2008 Jan 08
2
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
...gt; /* clamav-config.h. Generated from clamav-config.h.in by
> configure. */
> /* clamav-config.h.in. Generated from configure.in by autoheader. */
>
> /* enable bind8 compatibility */
> /* #undef BIND_8_COMPAT */
>
> /* Define if your snprintf is busted */
> /* #undef BROKEN_SNPRINTF */
>
> /* "build clamd" */
> /* #undef BUILD_CLAMD */
>
> /* name of the clamav group */
> #define CLAMAVGROUP "clamav"
>
> /* name of the clamav user */
> #define CLAMAVUSER "clamav"
>
> /* enable clamuko */
> /* #undef CLAMUKO */
&...
2007 Dec 18
0
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
Chris Lattner wrote:
> One way to do this is to add a "cut down" version of the app to the
> test suite.
I disabled optional features in clamav-config.h
>
>> 2. GPL license. Chris?
>
> Any open source license that allows unrestricted redistribution is
> fine in llvm-test
Ok, I have created a script that automatically checks out ClamAV
0.92-stable source code
2007 Dec 18
3
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
On Mon, 17 Dec 2007, Evan Cheng wrote:
> We always welcome more tests. But it looks like there are two issues
> here.
>
> 1. The autoconf requirement. Is it possible to get one configuration
> working without the need for autoconf?
One way to do this is to add a "cut down" version of the app to the test
suite.
> 2. GPL license. Chris?
Any open source license that