On Tue, Jan 13, 2015 at 2:32 PM, Mark Salyzyn <salyzyn@xxxxxxxxxxx> wrote:During integration testing of the pmsg interface, we found that if any (most notably ftrace) of the previous prz's were zero in length. Before the addition of pmsg it would have occurred if you zero'd the console size, but had ftrace set; an unlikely scenario _until_ pmsg was added.
ramoops_pstore_read fails to return the next in a przThis seems fine. Out of curiosity, when was the bad behavior this encountered?
series after first zero-sized entry, not venturing to
the next non-zero entry.
Signed-off-by: Mark Salyzyn <salyzyn@xxxxxxxxxxx>
Thanks
Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>
Thanks!
-Kees