[Rpm-maint] [rpm-software-management/rpm] Rpm query causes corruption in the file-backed mmaped bdb regions (#232)

Jeff Johnson notifications at github.com
Mon Jun 12 11:20:03 UTC 2017


Here are the patches in libdb-5.3.28-20: the patches are trackable to bug reports and appear to have been fixed by "upstream"
`# License clarification patch
  # http://devel.trisquel.info/gitweb/?p=package-helpers.git;a=blob;f=helpers/DA  TA/db4.8/007-mt19937db.c_license.patch;h=1036db4d337ce4c60984380b89afcaa63b2ef  88f;hb=df48d40d3544088338759e8bea2e7f832a564d48
  Patch25: 007-mt19937db.c_license.patch
  #Adds missing constant to Optcodes.java and changes ClassReader.java to use it  . This makes package to build with Java 8. 
  Patch26: java8-fix.patch
  # memp_stat fix provided by upstream (rhbz#1211871)
  Patch27: db-5.3.21-memp_stat-upstream-fix.patch
  # fix for mutexes not being released provided by upstream (rhbz#1277887)
  Patch28: db-5.3.21-mutex_leak.patch
  # fix for overflowing hash variable inside bundled lemon
  Patch29: db-5.3.28-lemon_hash.patch
`

Meanwhile, locking has not been shown to be a relevant issue to RPM on OS X.

For starters, [https://github.com/rpm-software-management/rpm/issues/232#issuecomment-307630055](url) is/was a buffer overrun while retrieving statistics for 389 directory services. That is likely irrelevant to RPM, which doesn't attempt to read MPOOL statistics.

I would read& report on #1277887 but I am not authorized to access. Judging from the comment, "muteness not being released" is likelier to lead to a deadlock, not "corruption".

Meanwhile its unclear whether any Fedora mutex patches are relevant on OS X: linux/glibc NPTL locking with futexes is likely irrelevant on OS X.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/232#issuecomment-307761586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170612/56cae2ea/attachment.html>


More information about the Rpm-maint mailing list