view tests/histedit-helpers.sh @ 28657:b9714d958e89 stable

parsers: detect short records (SEC) CVE-2016-3630 (2/2) This addresses part of a vulnerability in binary delta application.
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Mar 2016 17:30:26 -0700
parents 890273343170
children
line wrap: on
line source

fixbundle() {
    grep -v 'saving bundle' | grep -v 'saved backup' | \
        grep -v added | grep -v adding | \
        grep -v "unable to find 'e' for patching" | \
        grep -v "e: No such file or directory" | \
    cat
}