Bug#507659: sysstat: dies after HW upgrade

2009-06-02 Thread Petr Vandrovec
Hello, so after digging around I've found a culprit. It is reallocation code in open_ofile - when number of items in the file does not match one collected, code goes and reallocates _buf0 with new size. But! act[x]->nr value is shared with multiple activites, so all must be reallocated (w

Bug#507659: sysstat: dies after HW upgrade

2009-04-15 Thread Gábor Gombás
Package: sysstat Version: 9.0.1-1 Severity: normal Hi, I've started experiencing this bug after replacing my desktop machine. Rebuilding sysstat with "nostrip" and running it under valgrind shows that this is a buffer overflow: ==26846== Memcheck, a memory error detector. ==26846== Copyright (C