Home
last modified time | relevance | path

Searched hist:"6 d663820" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dpel.hpp6d663820 Wed Jan 22 14:50:46 CST 2020 Matt Spinler <spinler@us.ibm.com> PEL: Check UserData section size before adding

While not really likely, it is technically possible that the
AdditionalData property in an event log is large enough that saving it
into a UserData section could make the PEL exceed its maximum size of
16KB. To guard against this, check that an overflow wouldn't occur
before saving that section in the PEL.

In future commits, other UserData sections will be added where this
check will also be needed.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iac312a24b1d445e93de5a09f35a43d940571a3f8
H A Dpel.cpp6d663820 Wed Jan 22 14:50:46 CST 2020 Matt Spinler <spinler@us.ibm.com> PEL: Check UserData section size before adding

While not really likely, it is technically possible that the
AdditionalData property in an event log is large enough that saving it
into a UserData section could make the PEL exceed its maximum size of
16KB. To guard against this, check that an overflow wouldn't occur
before saving that section in the PEL.

In future commits, other UserData sections will be added where this
check will also be needed.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Iac312a24b1d445e93de5a09f35a43d940571a3f8