In module procps-ng-3.3.15, source skill.c, function check_proc
char buf[128];

This buffer is too small to read /proc/<pid>/stat
The code requires the whole file to be read:
         len = read(fd, buf, sizeof(buf));
        if (len <= 0 || (size_t)len >= sizeof(buf))
                goto closure;

Fix I used is to increase to 256 bytes.
Worked for me.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to