Nicholas Mc Guire 94634e9861 IB/ehca: use correct destination for memcpy
Using an element of a struct as the address for the memcpy of the whole
struct may introduce a buffer overflow and does not help readability either
simply pass the real thing as first argument to memcpy.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-11 17:14:37 -04:00
..
2010-02-09 11:13:56 +01:00
2010-06-16 18:05:05 +02:00
2010-07-21 12:46:29 -07:00
2010-07-21 12:46:29 -07:00
2007-07-09 20:12:26 -07:00