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>
1 file changed
tree: fcb3c8558c4aa4209879d683574e008434390258
  1. .gitignore
  2. COPYING
  3. Documentation/
  4. LICENSES/
  5. README.md
  6. mb2q
README.md

mb2q - Mailbox to quilt series converter

Install

It's recommended to generate the appropriate package for your system and install it via the package manager.

Usage

See Documentation and man pages