Fix: out of bounds access of kernel channel padding
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 May 2013 15:59:23 +0000 (11:59 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 14 May 2013 16:01:53 +0000 (12:01 -0400)
commitf853c53a00da0640403f536fc5bfc9146baf200c
tree14c6189f6dbbbea67b5621f4e109cb92dba96407
parentb6d38284ea601ee47321426d6b1ec97dd5603900
Fix: out of bounds access of kernel channel padding

The padding of the old ABI is bigger than the new one so we use the size
of the new padding size for the memcpy since it will always be smaller.

In kernctl_create_channel: Out-of-bounds access to a buffer (CWE-119).
In kernctl_open_metadata: Out-of-bounds access to a buffer (CWE-119).

Issue 1019925 and 1019924 of coverity scan.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/kernel-ctl/kernel-ctl.c
This page took 0.026874 seconds and 4 git commands to generate.