Protect rpmtsVerifyDB() with transaction lock
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 22 Apr 2010 10:48:58 +0000 (13:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 22 Apr 2010 10:48:58 +0000 (13:48 +0300)
commitefe0ebcbc14e43042083ce76043c69b8eb829280
treeda855541f5768468b328fc6f2b9b832fc631244a
parenta5f17bac34fb3bf777126cf6f6d4e237a6db41a4
Protect rpmtsVerifyDB() with transaction lock
- BDB docs state that db->verify() doesn't perform any locking even
  when used within an environment, and should only be used on files
  that are not being modified by another thread of control. Grabbing
  the transaction lock while verifying mostly ensures nobodys writing
  to the db behind our back.
lib/rpmts.c