\Drupal\strata\Health\Tripwire PackShortRead

A frame's range runs past the end of the pack holding it.

A pack is a flat concatenation, so a range that does not fit means the index and the object disagree about the object's length - a truncated upload, or an index row written against a different pack. Reading it anyway returns short bytes that decompress to nothing or to garbage.

Summary

Methods
Properties
Constants
code
check
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.