[ofa-general] Re: [PATCH][MINOR] infiniband-diags/ibsysstat.c: Fix a couple of latent bugs

Sasha Khapyorsky sashak at voltaire.com
Thu Oct 9 12:01:29 PDT 2008


On 14:25 Mon 29 Sep     , Hal Rosenstock wrote:
> Sasha,
>
> This patch is based on a code inspection of ibsysstat.c due to the buffer 
> overflow observed with more than 2 CPUs. It fixes a couple of latent bugs 
> although won't improve that particular issue.
>
> -- Hal

> infiniband-diags/ibsysstat.c: Fix latent bugs related to build_cpuinfo
> (exceeding MAX_CPUS and not being able to open /proc/cpuinfo)
> Also, issue warning when cpuinfo is truncated due to lack of room
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

Applied. Thanks.

Sasha



More information about the general mailing list