Fix: poll max size should be checked during resize
authorDavid Goulet <dgoulet@efficios.com>
Tue, 22 Jan 2013 20:28:36 +0000 (15:28 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 22 Jan 2013 20:35:54 +0000 (15:35 -0500)
This was detected using cppcheck:

[src/common/compat/compat-poll.c:204]: (error) Uninitialized variable:
new_size

So, the check was always made over an uninitialized variable on the
stack. Fortunately, worst case scenario, new_size is set to the maximum
allowed or kept untouched.

Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.026913 seconds and 4 git commands to generate.