···11-2007-09-05 07:16 +0000 Rocco Rutte <pdmef@gmx.net> (964658b145df)
11+2007-09-06 20:13 +0200 Rocco Rutte <pdmef@gmx.net> (648ad3832e82)
22+33+ * muttlib.c: Rewrite padding logic for mutt_FormatString()
44+55+ Do so by checking columns and bytes individually to make sure we
66+ really don't write past the end of allocated buffers. This patch
77+ fixes all my crashes I saw with files attached to/with the settings
88+ for #2882 and #2900.
99+1010+2007-09-05 10:52 +0000 Rocco Rutte <pdmef@gmx.net> (078744e84667)
1111+1212+ * init.c, pattern.c: Fix/improve intl error messages
213314 * browser.c: Interpret relative paths in browser relative to shown
415 dir, not working dir (closes #2471).
55-66-2007-09-05 07:12 +0000 Rocco Rutte <pdmef@gmx.net> (e0c7b3a70c3e)
716817 * help.c, pager.c, pager.h: Teach pager how to ignore $wrap and use it
918 for help (closes #2896).
10191111-2007-09-05 07:07 +0000 Rocco Rutte <pdmef@gmx.net> (dc54d31493a2)
1212-1320 * doc/manual.xml.head: Manual: make sure <screen/> contents in shorter
1421 than 80 chars
15221623 Otherwise conversion to plain text may cause line breaks rendering
1724 examples syntacially invalid (closes #2185).
18251919-2007-09-05 07:03 +0000 Rocco Rutte <pdmef@gmx.net> (3f59f7dd2965)
2020-2126 * doc/manual.xml.head: Manual: don't use <screen/> to present
2227 structured data
2323-2424-2007-09-05 06:56 +0000 Rocco Rutte <pdmef@gmx.net> (bb4f47b4578d)
25282629 * muttlib.c: Fix buffer overflow in mutt_FormatString()
2730···303331342007-09-04 17:22 -0700 Brendan Cully <brendan@kublai.com> (7df563e4b7fd)
32353333- * ChangeLog, configure.ac: Add libz to crypto libs if available
3636+ * configure.ac: Add libz to crypto libs if available
3437 (closes #2303).
353836392007-09-04 12:06 -0700 Ivan Vilata i Balaguer <ivan@selidor.net> (d9a6b3f8a492)
+43-24
configure.ac
···808808 fi])
809809810810dnl -- start cache --
811811-AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]),
812812-[if test x$enableval = xyes; then
811811+use_qdbm=no
812812+AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache],
813813+ [Enable header caching]))
814814+AC_ARG_WITH(qdbm, AC_HELP_STRING([--without-qdbm],
815815+ [Don't use qdbm even if it is available]))
816816+AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm],
817817+ [Don't use gdbm even if it is available]))
818818+AC_ARG_WITH(bdb, AC_HELP_STRING([--with-bdb[=DIR]],
819819+ [Use BerkeleyDB4 if gdbm is not available]), ac_bdb_prefix=$withval)
820820+821821+if test x$enable_hcache = xyes
822822+then
813823 AC_DEFINE(USE_HCACHE, 1, [Enable header caching])
814824 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS hcache.o"
815825816826 OLDCPPFLAGS="$CPPFLAGS"
827827+ OLDLDFLAGS="$LDFLAGS"
817828 OLDLIBS="$LIBS"
818829819830 need_md5="yes"
···821832 dnl hcachever.sh tool for calculating struct digest
822833 AC_CHECK_PROGS([MD5], [md5 md5sum openssl], [none])
823834824824- use_qdbm=no
825825- AC_ARG_WITH(qdbm, AC_HELP_STRING([--without-qdbm], [Don't use qdbm even if it is available]))
835835+ dnl -- QDBM --
826836 if test "$with_qdbm" != "no"
827837 then
828838 if test -n "$with_qdbm" && test "$with_qdbm" != "yes"
···841851842852 saved_LIBS="$LIBS"
843853 AC_CHECK_HEADERS(villa.h)
844844- AC_CHECK_LIB(qdbm, vlopen, [MUTTLIBS="$MUTTLIBS -lqdbm"; use_qdbm=yes])
854854+ AC_CHECK_LIB(qdbm, vlopen,
855855+ [MUTTLIBS="$MUTTLIBS -lqdbm"
856856+ AC_DEFINE(HAVE_QDBM, 1, [QDBM Support])
857857+ use_qdbm=yes],
858858+ [CPPFLAGS="$OLDCPPFLAGS"
859859+ LDFLAGS="$OLDLDFLAGS"])
845860 LIBS="$saved_LIBS"
846861 if test -n "$with_qdbm" && test "$use_qdbm" != yes
847862 then
···849864 fi
850865 fi
851866852852- AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm], [Don't use gdbm even if it is available]))
853853- if test x$with_gdbm != xno && test $use_qdbm != yes; then
867867+ dnl -- GDBM --
868868+ if test x$with_gdbm != xno && test $use_qdbm != yes
869869+ then
854870 if test "$with_gdbm" != "yes"
855871 then
856872 CPPFLAGS="$CPPFLAGS -I$with_gdbm/include"
857873 LDFLAGS="$LDFLAGS -L$with_gdbm/lib"
858874 fi
859859- CPPFLAGS="$OLDCPPFLAGS"
860860- LIBS="$OLDLIBS -lgdbm";
875875+ saved_LIBS="$LIBS"
876876+ LIBS="$LIBS -lgdbm"
861877 AC_CACHE_CHECK(for gdbm_open, ac_cv_gdbmopen,[
862878 ac_cv_gdbmopen=no
863879 AC_TRY_LINK([#include <gdbm.h>],[gdbm_open(0,0,0,0,0);],[ac_cv_gdbmopen=yes])
864880 ])
881881+ LIBS="$saved_LIBS"
882882+ if test "$ac_cv_gdbmopen" = yes
883883+ then
884884+ AC_DEFINE(HAVE_GDBM, 1, [GDBM Support])
885885+ MUTTLIBS="$MUTTLIBS -lgdbm"
886886+ elif test -n "$with_gdbm"
887887+ then
888888+ AC_MSG_ERROR([GDBM could not be used. Check config.log for details.])
889889+ fi
865890 fi
866891892892+ dnl -- BDB --
867893 ac_bdb_prefix=yes
868868- AC_ARG_WITH(bdb, AC_HELP_STRING([--with-bdb[=DIR]], [Use BerkeleyDB4 if gdbm is not available]),
869869- ac_bdb_prefix=$withval)
870894 if test x$ac_bdb_prefix != xno && test x$ac_cv_gdbmopen != xyes && test $use_qdbm != yes; then
871895 test x$ac_bdb_prefix = xyes && ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr"
872896 for d in $ac_bdb_prefix; do
···907931 done
908932 test x$BDB_LIB != x && break
909933 done
910910- if test x$ac_cv_dbcreate = xyes; then
934934+ if test x$ac_cv_dbcreate = xyes
935935+ then
911936 AC_MSG_RESULT(yes)
937937+ CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR"
938938+ LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$BDB_LIB"
939939+ AC_DEFINE(HAVE_DB4, 1, [Berkeley DB4 Support])
912940 else
913941 AC_MSG_RESULT(no)
914942 fi
915943 fi
916944917917- if test "$use_qdbm" = yes; then
918918- AC_DEFINE(HAVE_QDBM, 1, [QDBM Support])
919919- elif test x$ac_cv_gdbmopen = xyes; then
920920- CPPFLAGS="$OLDCPPFLAGS"
921921- LIBS="$OLDLIBS -lgdbm";
922922- AC_DEFINE(HAVE_GDBM, 1, [GDBM Support])
923923- elif test x$ac_cv_dbcreate = xyes; then
924924- CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR"
925925- LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$BDB_LIB"
926926- AC_DEFINE(HAVE_DB4, 1, [Berkeley DB4 Support])
927927- else
945945+ if test x$use_qdbm != xyes && test x$ac_cv_gdbmopen != xyes && test x$ac_cv_dbcreate != xyes
946946+ then
928947 AC_MSG_ERROR([You need QDBM, GDBM or Berkeley DB4 for hcache])
929948 fi
930930-fi])
949949+fi
931950dnl -- end cache --
932951933952if test "$need_md5" = "yes"