Re: [PATCH] block: blk-exec.c: Cleaning up local variable address returnd

2014-06-08 Thread Jens Axboe
On 2014-06-06 16:37, Rickard Strandqvist wrote: Address of local variable assigned to a function parameter This was partly found using a static code analysis program called cppcheck. I'd be surprised if this was a real bug, but I agree on principle, we should not leak stack data. The code is

[PATCH] block: blk-exec.c: Cleaning up local variable address returnd

2014-06-06 Thread Rickard Strandqvist
Address of local variable assigned to a function parameter This was partly found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- block/blk-exec.c |5 + 1 file changed, 5 insertions(+) diff --git a/block/blk-exec.c b/block/blk-exec.c index db