diff options
author | Manoj Srivastava <srivasta@debian.org> | 2016-02-24 17:15:45 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2016-02-24 17:15:45 -0800 |
commit | 3207b1144e041b17a6e94ca86810bb435dda6bc8 (patch) | |
tree | 4ea25fd5bc7006261840334abfa22a5a361670ec /tests | |
parent | c0a05c28fb4b8c56dd81fb4df25a57b29df7823d (diff) |
Fixed size of buffer allocation
The value of n_alloc was a count, not a size. Multiplying the value
by the element size was incorrect. That multiplication was already
being done and having it done twice was incorrect.
Bug fix: "n_alloc has wrong value in buf_append function", thanks to
Howard Gong (Closes: #761250).
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions