Home
last modified time | relevance | path

Searched hist:"1 c20c819" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_diag.c1c20c819 Thu Feb 20 10:02:48 CST 2014 Dennis Dalessandro <dennis.dalessandro@intel.com> IB/qib: Fix potential buffer overrun in sending diag packet routine

Guard against a potential buffer overrun. Right now the qib driver is
protected by the fact that the data structure in question is only 16
bits. Should that ever change the problem will be exposed. There is a
similar defect in the ipath driver and this brings the two code paths
into sync.

Reported-by: Nico Golde <nico@ngolde.de>
Reported-by: Fabian Yamaguchi <fabs@goesec.de>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
1c20c819 Thu Feb 20 10:02:48 CST 2014 Dennis Dalessandro <dennis.dalessandro@intel.com> IB/qib: Fix potential buffer overrun in sending diag packet routine

Guard against a potential buffer overrun. Right now the qib driver is
protected by the fact that the data structure in question is only 16
bits. Should that ever change the problem will be exposed. There is a
similar defect in the ipath driver and this brings the two code paths
into sync.

Reported-by: Nico Golde <nico@ngolde.de>
Reported-by: Fabian Yamaguchi <fabs@goesec.de>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>