Skip to content
Snippets Groups Projects
Commit 36963417 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Include: fixed assertion fail caused by missing initialization (bug surfaces...

Include: fixed assertion fail caused by missing initialization (bug surfaces only for stored binaries).
parent 1d8fb774
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ static bool ext_include_validator_load(struct sieve_validator *validator);
static bool ext_include_generator_load(const struct sieve_codegen_env *cgenv);
static bool ext_include_interpreter_load
(const struct sieve_runtime_env *renv, sieve_size_t *address);
static bool ext_include_binary_load(struct sieve_binary *binary);
/* Extension objects */
......@@ -62,7 +63,7 @@ const struct sieve_extension include_extension = {
ext_include_validator_load,
ext_include_generator_load,
ext_include_interpreter_load,
NULL,
ext_include_binary_load,
ext_include_binary_dump,
ext_include_code_dump,
SIEVE_EXT_DEFINE_OPERATIONS(ext_include_operations),
......@@ -100,3 +101,9 @@ static bool ext_include_interpreter_load
return TRUE;
}
static bool ext_include_binary_load(struct sieve_binary *sbin)
{
(void)ext_include_binary_get_context(sbin);
return TRUE;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.