commit | 9b978cc5594d93e899deac78e9415c6ce01d25f0 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Tue Sep 03 09:41:56 2019 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Sep 03 09:41:56 2019 +0200 |
tree | fcb3c8558c4aa4209879d683574e008434390258 | |
parent | 5d83c7a502e221ffa9f32738cc31421157c976b6 [diff] |
mb2q: Handle malformed discard lines gracefully A discard line '--\n' was obviously not detected as the code was looking for '---'. Handle it by making the decision whether the posttag area starts by checking whether the current line is past the last tag seen in the text. Reported-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>