Displaying 18 results from an estimated 18 matches for "pool_datastack_create".
2016 Oct 17
1
Dict proxy client returning empty string instead of multiline string
...proxy::sieve";
char* key = "priv/key";
char* username = "admin at domain.tld";
char* value, error;
dict_drivers_register_builtin();
dict_init(dict_uri, DICT_DATA_TYPE_STRING, username,
doveadm_settings->base_dir, &dict, &error);
dict_lookup(dict, pool_datastack_create(), key, &value);
printf(">%s\n", value); // outputs an empty string
dict_deinit(&dict);
I trimmed it to the bare minimal string manipulation functions involved
but cannot reproduce in that case:
pool_t pool = pool_datastack_create();
char* s1 = "test\001n\001rte...
2016 Oct 17
2
Dict proxy client returning empty string instead of multiline string
...ar* username = "admin at domain.tld";
> > char* value, error;
> >
> > dict_drivers_register_builtin();
> > dict_init(dict_uri, DICT_DATA_TYPE_STRING, username,
> > doveadm_settings->base_dir, &dict, &error);
> > dict_lookup(dict, pool_datastack_create(), key, &value);
> > printf(">%s\n", value); // outputs an empty string
> > dict_deinit(&dict);
> >
> > I trimmed it to the bare minimal string manipulation functions involved
> > but cannot reproduce in that case:
> >
> > pool_...
2016 Oct 17
2
Dict proxy client returning empty string instead of multiline string
Hi!
This does sound like a bug, we'll have look.
Aki
On 17.10.2016 01:26, Pierre Jaury wrote:
> I dived a little bit further into the rabbit hole, up to the point where
> debugging has become unpracticle but I still haven't found the root
> cause for sure.
>
> I read most of the code for "p_strdup" based on datastack memory pools
> (which are used for
2008 Jul 10
2
A couple of dovecot issues I've noted recently...
...ut of memory when allocating %u bytes") at failures.c:201
#14509 0x080b1652 in mem_block_alloc (min_size=0) at data-stack.c:192
#14510 0x080b1811 in t_malloc_real (size=16, permanent=true)
at data-stack.c:244
#14511 0x080b1890 in t_malloc0 (size=16) at data-stack.c:279
#14512 0x080b8715 in pool_datastack_create () at mempool-datastack.c:51
#14513 0x080bda2b in t_str_new (initial_size=512) at str.c:17
#14514 0x080b21f3 in internal_handler (log_type=70 'F',
format=0x80cdd64 "mem_block_alloc(): Out of memory when allocating %u bytes", args=0x76b96d8 "\020") at failures.c:383...
2016 Oct 17
2
Dict proxy client returning empty string instead of multiline string
...> >>> char* value, error;
> >>>
> >>> dict_drivers_register_builtin();
> >>> dict_init(dict_uri, DICT_DATA_TYPE_STRING, username,
> >>> doveadm_settings->base_dir, &dict, &error);
> >>> dict_lookup(dict, pool_datastack_create(), key, &value);
> >>> printf(">%s\n", value); // outputs an empty string
> >>> dict_deinit(&dict);
> >>>
> >>> I trimmed it to the bare minimal string manipulation functions involved
> >>> but cannot reproduce in...
2018 Jun 25
2
Pigeonhole extdata repo?
....c:6:0:
/usr/local/include/dovecot/dict.h:86:5: note: declared here
int dict_init(const char *uri, const struct dict_settings *set,
^
ext-extdata-common.c: In function 'ext_extdata_get_value':
ext-extdata-common.c:162:3: error: too few arguments to function 'dict_lookup'
pool_datastack_create(), key, &value)) <= 0 ) {
^
In file included from ext-extdata-common.c:6:0:
/usr/local/include/dovecot/dict.h:99:5: note: declared here
int dict_lookup(struct dict *dict, pool_t pool,
^
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mit...
2018 Dec 06
0
Dovecot 2.3.4 crashing on Solaris 10 - "Panic: output stream is missing error handling"
...30, 0xff059470)
/1 at 1: <- libdovecot:buffer_free() = 0
/1 at 1: -> libdovecot:buffer_free(0xa1a18, 0x1c00, 0xfec47940, 0x0)
/1 at 1: -> libdovecot:pool_system_free(0xff0fb050, 0x4af60,
0xff0fb030, 0xff059470)
/1 at 1: <- libdovecot:buffer_free() = 0
/1 at 1: -> libdovecot:pool_datastack_create(0xc3ed8, 0xc4200, 0x328, 0x0)
/1 at 1: <- libdovecot:pool_datastack_create() = 0x42a58
/1 at 1: -> libdovecot:buffer_create_dynamic(0x42a58, 0x20, 0x8000, 0xff0f44f4)
/1 at 1: <- libdovecot:buffer_create_dynamic() = 0x42a68
/1 at 1: -> libdovecot:buffer_append(0x42a68, 0x525c8,...
2020 Jul 20
2
To field was not correct indexed by FTS
Hi,
This To field was not correct indexed by FTS.
To: Yamada Taro <yamada at example.com>,=?UTF-8?B?dXNlcjJAZXhhbXBsZS5jb20=?= <user2 at example.com>, =?UTF-8?B?dXNlcjNAZXhhbXBsZS5jb20=?= <user3 at example.com>,
user4 desu <user4 at example.com>
--> Yamada Taro <yamada at example.com> , user2 at example.com
And follow was correct indexed by FTS
To: Yamada
2018 Jun 27
0
Pigeonhole extdata repo?
...vecot/dict.h:86:5: note: declared here
> int dict_init(const char *uri, const struct dict_settings *set,
> ^
> ext-extdata-common.c: In function 'ext_extdata_get_value':
> ext-extdata-common.c:162:3: error: too few arguments to function
> 'dict_lookup'
> pool_datastack_create(), key, &value)) <= 0 ) {
> ^
> In file included from ext-extdata-common.c:6:0:
> /usr/local/include/dovecot/dict.h:99:5: note: declared here
> int dict_lookup(struct dict *dict, pool_t pool,
> ^
-------------------------------------------------
ONLY AT VFEmail! -...
2020 Jul 20
0
To field was not correct indexed by FTS
Hi,
I'm Tachibana.
Additionally, I found below:
dovecot/src/plugins/fts/fts-build-mail.c:
187 i_debug("@@@@@ befor address parse:%s",hdr->full_value);
188
189 addr = message_address_parse(pool_datastack_create(),
190 hdr->full_value,
191 hdr->full_value_len,
192 UINT_MAX, 0);
193 str = t_str_new(hdr->full_value_len);
194...
2006 Mar 26
1
Dovecot abort while selecting INBOX
Hello all,
Recently, I was setting up SpamAssassin and procmail on my system
(used to run Courier, and was converted using Courier convert
scripts). I was setting up a rule in PINE to filter all previously
marked SPAM messages into a folder, when I suddenly got disconnected
from the IMAP server. I attempted to reconnect, but any attempts to
access my INBOX would disconnect me.
I looked in
2018 Jun 22
2
Pigeonhole extdata repo?
Pigeonhole download page has links for extdata plugin up to v0.4 but
nothing more and no link to the master repository
https://pigeonhole.dovecot.org/download.html
I want to use with dovecot 2.3.2rc1 but v0.4 won't compile with it.
Thanks for helping
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's
2017 Jun 10
0
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
...t doveadm_cmd_context *cctx)
+507 {
+508 struct doveadm_cmd_param *param;
+509 ARRAY_TYPE(doveadm_cmd_param_arr_t) pargv;
+510 ARRAY_TYPE(getopt_option_array) opts;
+511 unsigned int pargc;
+512 int c,li;
+513 pool_t pool = pool_datastack_create();
+514 string_t *optbuf = str_new(pool, 64);
+515
+516 p_array_init(&opts, pool, 4);
+517
+518 // build parameters
+519 doveadm_build_options(cctx->cmd->parameters, optbuf, &opts);
+530 while((c = getopt_long(argc, (char*const...
2020 Jul 20
2
To field was not correct indexed by FTS
...t; Hi,
>
> I'm Tachibana.
> Additionally, I found below:
>
> dovecot/src/plugins/fts/fts-build-mail.c:
>
> 187 i_debug("@@@@@ befor address parse:%s",hdr->full_value);
> 188
> 189 addr = message_address_parse(pool_datastack_create(),
> 190 hdr->full_value,
> 191 hdr->full_value_len,
> 192 UINT_MAX, 0);
> 193 str = t_str_new(hdr->full_value_...
2006 Jun 26
2
[PATCH, RFC 3/13] OTP: parity table
Add OTP parity table.
diff -urdpNX /usr/share/dontdiff -x Makefile dovecot.vanilla/src/lib-otp/otp-parity.c dovecot/src/lib-otp/otp-parity.c
--- dovecot.vanilla/src/lib-otp/otp-parity.c 1970-01-01 03:00:00.000000000 +0300
+++ dovecot/src/lib-otp/otp-parity.c 2006-06-23 13:44:31.161891112 +0400
@@ -0,0 +1,29 @@
+/*
+ * OTP parity table.
+ *
+ * Copyright (c) 2006 Andrey Panin <pazke at
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...k(const char *credentials,
+ struct auth_request *auth_request)
+{
+ struct apop_auth_request *auth =
+ (struct apop_auth_request *)auth_request;
+ buffer_t *digest_buf;
+ unsigned char remote_digest[16];
+ unsigned char digest[16];
+ struct md5_context ctx;
+
+ digest_buf = buffer_create_data(pool_datastack_create(),
+ remote_digest, sizeof(remote_digest));
+ if (hex_to_binary(auth->digest, digest_buf) <= 0) {
+ if (verbose)
+ i_info("apop(%s): invalid characters in APOP digest", get_log_prefix(auth_request));
+ mech_auth_finish(auth_request, NULL, 0, FALSE);
+ return;
+ }
+
+ md5_in...
2016 Oct 09
6
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
Hi.
I finally decided it was really time to stop being lazy and really move
away from gmail. After I have a server in my basement using power, etc.
So I turned on the imap provided - and did not quite cry - it will have
to do for now, but imap2 is wanting.
A real server yes, but not Linux. (Using linux would require another
server AND I would feel I am being lazy again).
So, I downloaded
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...L);
}
}
@@ -73,7 +74,8 @@
struct auth_stream_reply *reply;
i_assert(auth_stream_is_empty(request->extra_fields) ||
- request->master_user != NULL);
+ request->master_user != NULL ||
+ request->submit_user != NULL); /* APPLE - urlauth */
reply = auth_stream_reply_init(pool_datastack_create());
auth_stream_reply_add(reply, "PASSV", NULL);
@@ -112,7 +114,8 @@
struct auth_stream_reply *reply;
i_assert(auth_stream_is_empty(request->extra_fields) ||
- request->master_user != NULL);
+ request->master_user != NULL ||
+ request->submit_user != NULL); /* A...