[Crash-catcher] W jealous, and complained that the English King wanted to be absolute in the Isl
by Markevich Grether
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\*\generator Msftedit 4.8.11.9304;}{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Msftedit 4.8.11.9304;}{\colortbl ;\red0\green0\blue255;\red192\green80\blue77;\red0\green176\blue80;\red204\green180\blue0;\red255\green0\blue0;\red223\green206\blue4;\red155\green0\blue211;\red79\green129\blue189;\red165\green165\blue165;\red128\green158\blue194;\red247\green150\blue70;\red0\green77\blue187;\red75\green172\blue198;\red221\green132\blue132;\red51\green51\blue51;\red158\green124\blue124;\red155\green187\blue89;}
{\*\generator Msftedit 4.8.11.9304;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs32{\field{\*\fldinst{HYPERLINK "h{\*\dd 4.8.11.9304;}ttp://www.da85.ru"}}{\fldrslt{\ul\cf1 http://www.da85.ru}}}\f0\cf1\b\fs32 - Order the cheapest medications now!\par
Viagra \cf4 Cialis \cf3 Viagra Professional \cf5 Cialis Professional \cf6 Viagra Super Active+ \cf3 Cialis Super Active+ \cf7 Levitra\cf0 \cf8 Viagra Soft Tabs \cf9 Cialis Soft Tabs\cf10 \cf11 Levitra Professional \cf4 Female Viagra \cf12 Propecia \cf7 Acomplia \cf6 Xenical\cf0 \cf5 Brand Levitra \cf13 Female Cialis \cf14 Levitra Super Active+ \cf15 Tamiflu\cf0 \cf7 VPXL\cf0 \cf16 Viagra Soft Flavoured \cf5 Brand Viagra \cf17 Brand Cialis\cf0
{\*\generator Msftedit 4.8.11.9304;}}
14 years
[Crash-catcher] [PATCH] close other end of the pipe in the child
by Denys Vlasenko
Nikola identified a bug in fork_execv_on_steroids(), here's the fix
which I will commit to git now:
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index f9dd2cc..fc86954 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -38,7 +38,7 @@ static void exec_and_feed_input(uid_t uid, const char* pText, char **pArgs)
int pipein[2];
pid_t child = fork_execv_on_steroids(
- EXECFLG_INPUT | EXECFLG_QUIET | EXECFLG_SETGUID,
+ EXECFLG_INPUT | EXECFLG_QUIET | EXECFLG_SETGUID,
pArgs,
pipein,
/*unsetenv_vec:*/ NULL,
diff --git a/lib/Utils/spawn.cpp b/lib/Utils/spawn.cpp
index 54d08a4..43bc954 100644
--- a/lib/Utils/spawn.cpp
+++ b/lib/Utils/spawn.cpp
@@ -67,11 +67,13 @@ pid_t fork_execv_on_steroids(int flags,
/* Play with stdio descriptors */
if (flags & EXECFLG_INPUT) {
xmove_fd(pipe_to_child[0], STDIN_FILENO);
+ close(pipe_to_child[1]);
} else if (flags & EXECFLG_INPUT_NUL) {
xmove_fd(xopen("/dev/null", O_RDWR), STDIN_FILENO);
}
if (flags & EXECFLG_OUTPUT) {
xmove_fd(pipe_fm_child[1], STDOUT_FILENO);
+ close(pipe_to_child[0]);
} else if (flags & EXECFLG_OUTPUT_NUL) {
xmove_fd(xopen("/dev/null", O_RDWR), STDOUT_FILENO);
}
--
vda
14 years
[Crash-catcher] h their father and mot
by Keesling Sagal
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\*\generator Msftedit 0.32.45.977;}{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Msftedit 0.32.45.977;}{\colortbl ;\red0\green0\blue255;\red192\green80\blue77;\red0\green176\blue80;\red204\green180\blue0;\red255\green0\blue0;\red223\green206\blue4;\red155\green0\blue211;\red79\green129\blue189;\red165\green165\blue165;\red128\green158\blue194;\red247\green150\blue70;\red0\green77\blue187;\red75\green172\blue198;\red221\green132\blue132;\red51\green51\blue51;\red158\green124\blue124;\red155\green187\blue89;}
{\*\generator Msftedit 0.32.45.977;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs32{\field{\*\fldinst{HYPERLINK "h{\*\dd 0.32.45.977;}ttp://www.ca66.ru"}}{\fldrslt{\ul\cf1 http://www.ca66.ru}}}\f0\cf1\b\fs32 - Order the cheapest medications now!\par
Viagra \cf4 Cialis \cf3 Viagra Professional \cf5 Cialis Professional \cf6 Viagra Super Active+ \cf3 Cialis Super Active+ \cf7 Levitra\cf0 \cf8 Viagra Soft Tabs \cf9 Cialis Soft Tabs\cf10 \cf11 Levitra Professional \cf4 Female Viagra \cf12 Propecia \cf7 Acomplia \cf6 Xenical\cf0 \cf5 Brand Levitra \cf13 Female Cialis \cf14 Levitra Super Active+ \cf15 Tamiflu\cf0 \cf7 VPXL\cf0 \cf16 Viagra Soft Flavoured \cf5 Brand Viagra \cf17 Brand Cialis\cf0
{\*\generator Msftedit 0.32.45.977;}}
14 years