diff -Nru procps-3.2.8/debian/changelog procps-3.2.8/debian/changelog --- procps-3.2.8/debian/changelog 2011-12-12 11:33:32.000000000 -0600 +++ procps-3.2.8/debian/changelog 2013-05-09 10:34:06.000000000 -0500 @@ -1,3 +1,11 @@ +procps (1:3.2.8-11ubuntu7) precise; urgency=low + + * Partial backport of 7933435584aa1fd75460f4c7715a3d4855d97c1c to fix core + dump issue in ps where users have large number of groups as is possible + with users coming out of directory services. + + -- Dave Chiluk Thu, 09 May 2013 10:33:36 -0500 + procps (1:3.2.8-11ubuntu6) precise; urgency=low * debian/sysctl.d/10-zeroconf ... have armhf using teh same value that diff -Nru procps-3.2.8/debian/patches/ps_segfault_on_groups.patch procps-3.2.8/debian/patches/ps_segfault_on_groups.patch --- procps-3.2.8/debian/patches/ps_segfault_on_groups.patch 1969-12-31 18:00:00.000000000 -0600 +++ procps-3.2.8/debian/patches/ps_segfault_on_groups.patch 2013-05-06 11:46:14.000000000 -0500 @@ -0,0 +1,55 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + procps (1:3.2.8-11ubuntu7~chiluk) precise; urgency=low + . + * Backport 7933435584aa1fd75460f4c7715a3d4855d97c1c to fix core dump issue + with large number of users. +Author: Dave Chiluk + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- procps-3.2.8.orig/proc/readproc.c ++++ procps-3.2.8/proc/readproc.c +@@ -563,7 +563,7 @@ int read_cmdline(char *restrict const ds + // room to spare. + static proc_t* simple_readproc(PROCTAB *restrict const PT, proc_t *restrict const p) { + static struct stat sb; // stat() buffer +- static char sbuf[1024]; // buffer for stat,statm ++ static char sbuf[4096]; // buffer for stat,statm + char *restrict const path = PT->path; + unsigned flags = PT->flags; + +@@ -658,7 +658,7 @@ next_proc: + // path is a path to the task, with some room to spare. + static proc_t* simple_readtask(PROCTAB *restrict const PT, const proc_t *restrict const p, proc_t *restrict const t, char *restrict const path) { + static struct stat sb; // stat() buffer +- static char sbuf[1024]; // buffer for stat,statm ++ static char sbuf[4096]; // buffer for stat,statm + unsigned flags = PT->flags; + + //printf("hhh\n"); +@@ -1111,7 +1111,7 @@ proc_data_t *readproctab2(int(*want_proc + * and filled out proc_t structure. + */ + proc_t * get_proc_stats(pid_t pid, proc_t *p) { +- static char path[32], sbuf[1024]; ++ static char path[32], sbuf[4096]; + struct stat statbuf; + + sprintf(path, "/proc/%d", pid); diff -Nru procps-3.2.8/debian/patches/series procps-3.2.8/debian/patches/series --- procps-3.2.8/debian/patches/series 2011-12-05 05:45:35.000000000 -0600 +++ procps-3.2.8/debian/patches/series 2013-05-09 10:37:13.000000000 -0500 @@ -73,3 +73,4 @@ btime_from_proc_stat.patch procps-3.2.7-top-clrscr.patch vmstat_truncate +ps_segfault_on_groups.patch