This is an automated email from the git hooks/post-receive script.

landry pushed a 
commit to branch 
master
in repository apps/xfce4-taskmanager.

commit bbee8970794caddd3e7231cd0b05be1a12eda5d4
Author: rim <rozhuk...@gmail.com>
Date:   Wed May 30 21:51:50 2018 +0200

    use a 1k buffer for the initial argv malloc (bug 14401)
---
 src/task-manager-bsd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/task-manager-bsd.c b/src/task-manager-bsd.c
index ff5236d..e5c9691 100644
--- a/src/task-manager-bsd.c
+++ b/src/task-manager-bsd.c
@@ -111,7 +111,7 @@ gboolean get_task_list (GArray *task_list)
                g_strlcpy(t.name, p.p_comm, strlen(p.p_comm) + 1);
                /* shamelessly stolen from top/machine.c */
                if (!P_ZOMBIE(&p)) {
-                       size = 128;
+                       size = 1024;
                        if ((args = malloc(size)) == NULL)
                                errx(1,"failed to allocate memory for argv 
structures at %zu", size);
                        bzero(args, size);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to