[ovs-dev] [PATCH] dpctl: Fix jump through wild pointer in "dpctl/help".

Daniele Di Proietto diproiettod at vmware.com
Tue Oct 20 22:55:37 UTC 2015

On 17/10/2015 14:24, "Ben Pfaff" <blp at nicira.com> wrote:

>dpctl_unixctl_handler() didn't fully initialize the dpctl_params structure
>it passed to the handler, which meant that dpctl_help() could see a
>(indeterminate) 'usage' pointer and jump through it, causes a crash.
>This commit fixes the crash by fully initializing the structure.
>The dpctl/help command wasn't going to do anything useful anyway, so this
>commit also stops registering it.
>Reported-by: Murali R <muralirdev at gmail.com>
>Signed-off-by: Ben Pfaff <blp at nicira.com>

Acked-by: Daniele Di Proietto <diproiettod at vmware.com>

More information about the dev mailing list