From: Lon Hohberger Date: Fri, 21 Jan 2011 13:17:37 -0500 Subject: [Cluster-devel] [PATCH] fence_scsi: fix regular expression for grep In-Reply-To: <1295456620-26434-1-git-send-email-rohara@redhat.com> References: <1295456620-26434-1-git-send-email-rohara@redhat.com> Message-ID: <1295633857.857.15.camel@localhost.localdomain> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, 2011-01-19 at 11:03 -0600, Ryan O'Hara wrote: > When fence_scsi checks to see if a specific keys is registered for a > specific device, it uses grep to look through a list of all registered > keys. The existing regular expression was not specific enough, and could > result in false positives. This patch fixes the problem by using anchors > to make the regular expression more specific. > > Resolves: rhbz#670910 ACK -- Lon