+2003-05-15
+
+ * src/imap.c:
+ imap_parse_atom()
+ imap_get_header()
+ imap_cmd_fetch(): check for data size that servers return (fixes
+ vulnerability found in BugTraq).
+
+2003-05-14
+
+ * src/addr_compl.c: get_complete_address()
+ src/addressbook.c: addressbook_format_address()
+ src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
+ characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
+ * src/main.c: main(): set colormap and visual to solve color problem
+ in Solaris (thanks to Markus Schwarzenberg).
+
2003-05-12
* version 0.9.0pre1
+2003-05-15 [paul] 0.8.11claws154
+
+ * sync with latest 0.9.0pre1
+ see ChangeLog 2003-05-14 and 2003-05-14
+
2003-05-14 [christoph] 0.8.11claws153
* src/plugins/image_viewer/viewer.c
+2003-05-15
+
+ * src/imap.c:
+ imap_parse_atom()
+ imap_get_header()
+ imap_cmd_fetch(): ¥µ¡¼¥Ð¤¬ÊÖ¤¹¥Ç¡¼¥¿¥µ¥¤¥º¤ò¥Á¥§¥Ã¥¯(BugTraq ¤Ç
+ ȯ¸«¤µ¤ì¤¿ÀȼåÀ¤ò½¤Àµ)¡£
+
+2003-05-14
+
+ * src/addr_compl.c: get_complete_address()
+ src/addressbook.c: addressbook_format_address()
+ src/compose.c: QUOTE_IF_REQUIRED(): ̾Á°¤¬ atext (RFC 2822, 3.2.4.
+ Atom) ¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤Ê¸»ú¤ò´Þ¤ó¤Ç¤¤¤ë¾ì¹ç¤Ï°úÍÑÉä¤Ç³ç¤ë¤è¤¦¤Ë
+ ¤·¤¿¡£
+ * src/main.c: main(): Solaris ¤Ë¤ª¤±¤ë¥«¥é¡¼¤ÎÌäÂê¤ò²ò·è¤¹¤ë¤¿¤á¤Ë
+ colormap ¤È visual ¤ò¥»¥Ã¥È(Markus Schwarzenberg ¤µ¤ó thanks)¡£
+
2003-05-12
* version 0.9.0pre1
============================
--disable-compface disable compface (X-Face) support
- --enable-ssl SSL support (requires OpenSSL)
+ --enable-openssl SSL support (requires OpenSSL)
--enable-ipv6 IPv6 support
--enable-gpgme GnuPG support (requires GPGME and GnuPG)
--enable-ldap LDAP support
MICRO_VERSION=11
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws153
+EXTRA_VERSION=claws154
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
if (p != NULL) {
if (!p->name || p->name[0] == '\0')
address = g_strdup_printf(p->address);
- else if (strchr_with_skip_quote(p->name, '"', ','))
+ else if (p->name[0] != '"' &&
+ strpbrk(p->name, ",.[]<>") != NULL)
address = g_strdup_printf
("\"%s\" <%s>", p->name, p->address);
else
}
if( address ) {
if( name && name[0] != '\0' ) {
- if( strchr_with_skip_quote( name, '"', ',' ) )
+ if( name[0] != '"' && strpbrk( name, ",.[]<>" ) != NULL )
buf = g_strdup_printf( "\"%s\" <%s>", name, address );
else
buf = g_strdup_printf( "%s <%s>", name, address );
#define QUOTE_IF_REQUIRED(out, str) \
{ \
- if (*str != '"' && (strchr(str, ',') \
- || strchr(str, '.'))) { \
+ if (*str != '"' && strpbrk(str, ",.[]<>")) { \
gchar *__tmp; \
gint len; \
\
cur_pos = strchr_cpy(cur_pos + 1, '}', buf, sizeof(buf));
len = atoi(buf);
+ g_return_val_if_fail(len > 0, cur_pos);
g_string_truncate(str, 0);
cur_pos = str->str;
cur_pos = strchr_cpy(cur_pos + 1, '}', buf, sizeof(buf));
len = atoi(buf);
+ g_return_val_if_fail(len > 0, cur_pos);
g_string_truncate(str, 0);
cur_pos = str->str;
return IMAP_ERROR;
}
size_num = atol(size_str);
+ g_return_val_if_fail(size_num > 0, IMAP_ERROR);
if (*cur_pos != '\0') {
g_free(buf);
gtk_set_locale();
gtk_init(&argc, &argv);
+ gdk_rgb_init();
+ gtk_widget_set_default_colormap(gdk_rgb_get_cmap());
+ gtk_widget_set_default_visual(gdk_rgb_get_visual());
+
#if USE_THREADS || USE_LDAP
g_thread_init(NULL);
if (!g_thread_supported())