Bugzilla – Attachment 380 Details for
Bug 458
sshd crashes with "fatal: mm_malloc: size too big"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Set SIZE_T_MAX to UINT_MAX if we we define size_t ourselves.
openssh-unit_max.patch (text/plain), 1.30 KB, created by
Darren Tucker
on 2003-09-05 14:30:31 AEST
(
hide
)
Description:
Set SIZE_T_MAX to UINT_MAX if we we define size_t ourselves.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-09-05 14:30:31 AEST
Size:
1.30 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.143 >diff -u -p -r1.143 configure.ac >--- configure.ac 26 Aug 2003 01:58:16 -0000 1.143 >+++ configure.ac 5 Sep 2003 03:56:28 -0000 >@@ -140,7 +140,6 @@ main() { if (NSVersionOfRunTimeLibrary(" > AC_DEFINE(LOGIN_NO_ENDOPT) > AC_DEFINE(LOGIN_NEEDS_UTMPX) > AC_DEFINE(DISABLE_SHADOW) >- AC_DEFINE(DISABLE_UTMP) > AC_DEFINE(LOCKED_PASSWD_STRING, "*") > AC_DEFINE(SPT_TYPE,SPT_PSTAT) > LIBS="$LIBS -lsec -lsecpw" >@@ -157,7 +156,6 @@ main() { if (NSVersionOfRunTimeLibrary(" > AC_DEFINE(LOGIN_NO_ENDOPT) > AC_DEFINE(LOGIN_NEEDS_UTMPX) > AC_DEFINE(DISABLE_SHADOW) >- AC_DEFINE(DISABLE_UTMP) > AC_DEFINE(LOCKED_PASSWD_STRING, "*") > AC_DEFINE(SPT_TYPE,SPT_PSTAT) > LIBS="$LIBS -lsec" >Index: defines.h >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/defines.h,v >retrieving revision 1.102 >diff -u -p -r1.102 defines.h >--- defines.h 26 Aug 2003 01:58:16 -0000 1.102 >+++ defines.h 5 Sep 2003 04:22:44 -0000 >@@ -239,6 +239,7 @@ typedef unsigned char u_char; > > #ifndef HAVE_SIZE_T > typedef unsigned int size_t; >+# define SIZE_T_MAX UINT_MAX > # define HAVE_SIZE_T > #endif /* HAVE_SIZE_T */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 458
:
380
|
381