Actions
Bug #1802
closedBug #1450: Illumos should be buildable with GCC4
qlge may wildly overrun a debug buffer
Start date:
2011-11-21
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
in ql_get_serdes_regs, we write the contents of our registers into a struct ql_mpi_coredump. Unfortunately in two cases we mis-index arrays in the dump structure, and write to array+<physical offset of register>, way out of bounds.
GCC4 notices.
This code is only called in the face of (systemic?) device errors signalled from the board, and is likely very hard to reproduce, even while having hardware, unless a call to ql_8xxx_binary_core_dump is artificially inserted.
Actions