Displaying 20 results from an estimated 48 matches for "strfuncs".
2009 Apr 09
1
failed dovecot 1.2rc2 build Solaris 8, gcc 2.95.3
....h:28,
from common.h:6,
from login-process.c:3:
../../src/lib/data-stack.h:73: warning: `pure' attribute directive ignored
In file included from ../../src/lib/lib.h:39,
from common.h:6,
from login-process.c:3:
../../src/lib/strfuncs.h:44: warning: `pure' attribute directive ignored
../../src/lib/strfuncs.h:54: warning: `pure' attribute directive ignored
../../src/lib/strfuncs.h:55: warning: `pure' attribute directive ignored
../../src/lib/strfuncs.h:56: warning: `pure' attribute directive ignored
../../src/lib/...
2004 Jul 31
1
Patch: fix $-terminated MCF
p/t_strdup_until wasn't returning a terminated string:
Index: src/lib/strfuncs.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/strfuncs.c,v
retrieving revision 1.41
diff -u -p -r1.41 strfuncs.c
--- src/lib/strfuncs.c 18 Jul 2004 01:44:59 -0000 1.41
+++ src/lib/strfuncs.c 31 Jul 2004 08:43:35 -0000
@@ -154,6 +154,7 @@ c...
2010 Apr 30
1
Released Pigeonhole Sieve v0.1.16 for Dovecot v1.2.11
Hello Dovecot users,
Pigeonhole development has slowed down significantly in the last few
months due to the fact that I got swamped in work.
The plan is now to move active development of Pigeonhole to Dovecot
v2.0, meaning that this will be the last release for v1.2 that contains
significant development changes and new features. However, if a certain
new feature is simple enough and there is
2010 Apr 30
1
Released Pigeonhole Sieve v0.1.16 for Dovecot v1.2.11
Hello Dovecot users,
Pigeonhole development has slowed down significantly in the last few
months due to the fact that I got swamped in work.
The plan is now to move active development of Pigeonhole to Dovecot
v2.0, meaning that this will be the last release for v1.2 that contains
significant development changes and new features. However, if a certain
new feature is simple enough and there is
2002 Oct 23
2
vsnprintf()
...rning -1 when the
string was longer than the passed-in limit (or it won't terminate the
string.). But this isn't the C99-standardized behaviour, and newer glibc's
don't do that anymore either, so you can end up with a non-terminated
string. This patch should fix it, I think.
Index: strfuncs.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/strfuncs.c,v
retrieving revision 1.14
diff -c -u -r1.14 strfuncs.c
--- strfuncs.c 20 Oct 2002 03:19:10 -0000 1.14
+++ strfuncs.c 23 Oct 2002 11:19:39 -0000
@@ -401,7 +401,7 @@
va_end(args);...
2009 Sep 01
3
dovecot 1.2 and logging start failures
Hi,
I've got report about issue when dovecot fails to start and there is no error
logged (error goes only to stderr)
situation:
1) dovecot is running
2) dovecot is automatically updated to new version (by yum update daemon),
after update, dovecot is restarted (it's part of update script)
3) new dovecot fails to start (for whatever reason)
result:
dovecot not running and no error
2008 May 16
3
Trim trailing whitespace from username
...into trouble with some of our clients having extraneous
spaces at the end of their usernames. The quick fix was to add a space
to username_chars. The slightly longer fix was a pretty simple patch to
Dovecot. I put the trimming in auth_request_fix_username. I didn't think
it warranted a full strfuncs function.
If there is a better way to do this I'm all ears. I don't really like
patching with my own code, even if I did essentially steal if from the
kernel's strstrip().
diff -u dovecot-1.1.rc5/src/auth/auth-request.c
dovecot-1.1.rc5-patched/src/auth/auth-request.c
--- dovecot-1...
2008 Jan 07
1
assertion with outlook
...u gutsy gibbon server
amd64
ext3
outlook 2003 & 2007, just retrieving mails. mails have been migrated via
imapsync 2 days before to this server. dovecot is imap-server and LDA.
has been seen with two different users, following syslog entries:
Jan 7 18:27:01 siege dovecot: IMAP(userA): file strfuncs.c: line 165
(p_strndup): assertion failed: (max_chars != (size_t)-1)
Jan 7 18:27:01 siege dovecot: IMAP(userA): Raw backtrace: imap
[0x46372e] -> imap [0x46349c] -> imap(t_strndup+0) [0x470cf0] ->
imap(cmd_create+0xd1) [0x4142c1] -> imap [0x4178f7] -> imap [0x417989]
-> imap(...
2013 Oct 24
1
Problems with userdb lookup
...failed: (%s)") at failures.c:264
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = 0xbfb12304 ""
#6 0xb7751886 in p_strndup (pool=0xb7796544 <static_unsafe_data_stack_pool>,
str=str at entry=0x0, max_chars=max_chars at entry=4294967295) at strfuncs.c:74
mem = <optimized out>
len = <optimized out>
__FUNCTION__ = "p_strndup"
#7 0xb7751d7f in t_strndup (str=0x0, max_chars=4294967295) at strfuncs.c:236
No locals.
#8 0x08057003 in auth_request_append_password (str=str at entry=0x97e68a8,
request=0x97...
2007 Aug 16
3
imap killed with signal 6 (including backtrace)
Found this today multiple times for the same user:
Aug 16 16:59:38 postamt dovecot: IMAP(username): file strfuncs.c: line 165 (p_strndup): assertion failed: (max_chars != (size_t)-1)
Aug 16 16:59:38 postamt dovecot: IMAP(username): Raw backtrace: imap [0x80c6d53] -> imap(i_fatal+0) [0x80c6795] -> imap(p_strndup+0x38)
[0x80d8316] -> imap(t_strndup+0x22) [0x80d86d7] -> imap(cmd_create+0xb5) [0x8059a3...
2019 Oct 07
3
Sieve redirect is broken in 2.3.7.2 - signal 11
Hi Stephan,
Here it is:
Program received signal SIGSEGV, Segmentation fault.
p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d <error:
Cannot access memory at address 0x6d65642e6c69616d>) at strfuncs.c:51
51????? strfuncs.c: No such file or directory.
(gdb) bt full
#0? p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d
<error: Cannot access memory at address 0x6d65642e6c69616d>) at
strfuncs.c:51
??????? mem = <optimized out>
??????? len = <optimized out>
#...
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...lid SSL certificate from %s:%u: %s", args=0x7ffd537d0a80,
size_r=0x7ffd537d0a5c) at /usr/include/bits/stdio2.h:78
No locals.
#3 t_noalloc_strdup_vprintf (format=0x7f1a58c90ad8 "proxy: Received
invalid SSL certificate from %s:%u: %s", args=0x7ffd537d0a80,
size_r=0x7ffd537d0a5c) at strfuncs.c:132
args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
0x7ffd537d0b60, reg_save_area = 0x7ffd537d0aa0}}
tmp = 0x1fe0e38 "proxy: Received invalid SSL certificate from
\314-A\235q\210\021\b\354\062Lz?)\367.\002 \031\233
\362w?\224\356K7\343\224 \002\037\364!+\266...
2011 May 08
1
Building Pigeonhole
...without error.
However, when I make, the compiler throws lots of errors all stemming,
I believe from its failure to find a set of include files:
cmd-vacation.c:4:17: error: lib.h: No such file or directory
cmd-vacation.c:5:17: error: str.h: No such file or directory
cmd-vacation.c:6:22: error: strfuncs.h: No such file or directory
cmd-vacation.c:7:17: error: md5.h: No such file or directory
cmd-vacation.c:8:21: error: hostpid.h: No such file or directory
cmd-vacation.c:9:26: error: str-sanitize.h: No such file or directory
cmd-vacation.c:10:29: error: message-address.h: No such file or directory...
2010 Aug 07
2
piegonhole seg fault with NULL user
dovecot-2.0-piegonhole commit cac6acdc4d0e:
Crash when USER is NULL. Backtrace is below. Perhaps, we should check
for NULL and bail out early?
Eray
[...]
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
t_strcut (str=0x0, cutchar=64 '@') at strfuncs.c:277
277 for (p = str; *p != '\0'; p++) {
(gdb) bt full
#0 t_strcut (str=0x0, cutchar=64 '@') at strfuncs.c:277
p = <value optimized out>
#1 0x4009c28b in get_var_expand_table (service=<value optimized out>,
input=<value optimized out>) at ma...
2010 Sep 09
1
Virtual mailbox help
...d and set proper permission on all created directories then
tried to login to client and getting the follwoing error in log file
..
Sep 09 13:02:47 imap-login: Info: Login: user=<piyush>, method=PLAIN,
rip=127.0.0.1, lip=127.0.0.1, mpid=3505, secured
Sep 09 13:02:48 imap(piyush): Panic: file strfuncs.c: line 72
(p_strndup): assertion failed: (max_chars != (size_t)-1)
Sep 09 13:02:48 imap(piyush): Error: Raw backtrace:
/usr/local/dovecot/lib/dovecot/libdovecot.so.0 [0x9fefd9e1] ->
/usr/local/dovecot/lib/dovecot/libdovecot.so.0 [0x9fefda5f] ->
/usr/local/dovecot/lib/dovecot/libdovecot.so.0(...
2019 Oct 07
1
Sieve redirect is broken in 2.3.7.2 - signal 11
...t;
> f 1
> p src
>
> Regards,
>
> Stephan.
>
>
>> Program received signal SIGSEGV, Segmentation fault.
>> p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d
>> <error: Cannot access memory at address 0x6d65642e6c69616d>) at
>> strfuncs.c:51
>> 51????? strfuncs.c: No such file or directory.
>> (gdb) bt full
>> #0? p_strdup (pool=pool at entry=0x55555579bc20, str=0x6d65642e6c69616d
>> <error: Cannot access memory at address 0x6d65642e6c69616d>) at
>> strfuncs.c:51
>> ??????? mem = <opt...
2012 Nov 13
0
older gcc don't know --as-needed
...m-crlf.o test_lib-test-istream-seekable.o test_lib-test-istream-tee.o test_lib-test-llist.o test_lib-test-mempool-alloconly.o test_lib-test-network.o test_lib-test-ostream-file.o test_lib-test-primes.o test_lib-test-priorityq.o test_lib-test-seq-range-array.o test_lib-test-strescape.o test_lib-test-strfuncs.o test_lib-test-str-find.o test_lib-test-str-sanitize.o test_lib-test-time-util.o test_lib-test-utc-mktime.o test_lib-test-var-expand.o ../lib-test/libtest.la liblib.la -lrt
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -...
2005 Mar 30
2
test65 killed by SIGSEV
...So my client (actually just a test through telnet) gets a 'NO
Temporary authentication failure'.
Here's a gdb backtrace of the process :
-------
Program received signal SIGSEGV, Segmentation fault.
0x08065bf6 in t_strarray_join (arr=0x807aa20, separator=0x8067b1a ",")
at strfuncs.c:571
571 len = strlen(*arr);
(gdb) bt full
#0 0x08065bf6 in t_strarray_join (arr=0x807aa20, separator=0x8067b1a ",")
at strfuncs.c:571
alloc_len = 8
sep_len = 1
len = 9
pos = 39
needed_space = 0
str = 0x806e488 &quo...
2009 May 19
2
expire-tool segmentation fault
Hi!
I'm using Dovecot 1.1.15 on OpenBSD 4.4.
How can I debug this?
# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-
tool
Segmentation fault (core dumped)
# gdb /usr/local/sbin/dovecot
(gdb) run --exec-mail ext /usr/local/libexec/dovecot/expire-tool
Starting program: /usr/local/sbin/dovecot --exec-mail ext
/usr/local/libexec/dovecot/expire-tool
Program received
2008 Jul 10
2
A couple of dovecot issues I've noted recently...
...uot;data-stack.c"
[327613] t_malloc_real(size = 0, permanent = 0), line 244 in "data-stack.c"
[327614] t_buffer_get(size = 0), line 319 in "data-stack.c"
[327615] _vstrconcat(str1 = (nil), args = 0x8047834 "\x9d?^L^H", ret_len = 0x8047808), line 229 in "strfuncs.c"
[327616] t_strconcat(str1 = 0x100e77f0 "tmp/compiler/venus/handoff/build20.2/CDROM/sol-x86/kits/j2sdk_1.4.2_08/patches/J2SE_Solaris_8_x86_Recommended/108994-44/SUNWcsr/.svn/prop-base", ...), line 335 in "strfuncs.c"
[327617] mbox_list_next(ctx = 0x80f6348), line 273...