lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210728101040.GA30574@amd>
Date:   Wed, 28 Jul 2021 12:10:40 +0200
From:   Pavel Machek <pavel@...x.de>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     linux-kernel@...r.kernel.org, stable@...r.kernel.org,
        Mathias Nyman <mathias.nyman@...ux.intel.com>,
        Carsten Schmid <carsten_schmid@...tor.com>
Subject: Re: [PATCH 5.10 167/167] xhci: add xhci_get_virt_ep() helper

Hi!

> From: Mathias Nyman <mathias.nyman@...ux.intel.com>
> 
> [commit b1adc42d440df3233255e313a45ab7e9b2b74096 upstream]

This is yet another variation in upstream commit making. So far I was
using these:

                ma = re.match(".*Upstream commit ([0-9a-f]*) .*", l)
                if ma:
                    m.upstream = ma.group(1)
                ma = re.match("[Cc]ommit ([0-9a-f]*) upstream[.]*", l)
		if ma:
                    m.upstream = ma.group(1)
                ma = re.match("[Cc]ommit: ([0-9a-f]*)", l)
                if ma:
                    m.upstream = ma.group(1)

I guess I could update second regexp to search anywhere in the
line.... but at that point it will also match stuff like "commit 1234
upstream is broken".

Do you have suggestion how to extract upstream sha1 automatically?

Best regards,
								Pavel
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ