diff options
Diffstat (limited to 'meta/recipes-devtools/pseudo/pseudo')
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch b/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch new file mode 100644 index 0000000000..a73ed64804 --- /dev/null +++ b/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | The cached data values were being collected when an OP_EXEC call was made. | ||
2 | This is incorrect as the values are only for logging purposes. It's believed | ||
3 | this caused an occasional crash in certain instances. | ||
4 | |||
5 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
6 | |||
7 | diff --git a/pseudo.c b/pseudo.c | ||
8 | index efee436..62f28f3 100644 | ||
9 | --- a/pseudo.c | ||
10 | +++ b/pseudo.c | ||
11 | @@ -1021,7 +1021,8 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) { | ||
12 | if (msg->op != OP_MAY_UNLINK && | ||
13 | msg->op != OP_DID_UNLINK && | ||
14 | msg->op != OP_CANCEL_UNLINK && | ||
15 | - msg->op != OP_UNLINK) { | ||
16 | + msg->op != OP_UNLINK && | ||
17 | + msg->op != OP_EXEC ) { | ||
18 | cache_msg = *msg; | ||
19 | |||
20 | if (path_by_ino) { | ||