[dm-devel] [PATCH] dm ioctl: prevent stack leak in dm ioctl call

Adrian Salido salidoa at google.com
Thu Apr 27 17:37:31 UTC 2017


> So at the moment, we're leaning towards just:
>
>   param->data_size = offsetof(struct dm_ioctl, data)

This works, it allows functions processing the ioctl to override if
needed and is cleaner




More information about the dm-devel mailing list