Red Hat Bugzilla – Bug 437496
libdlm copies lvb from bad address
Last modified: 2009-04-16 19:03:13 EDT
Description of problem:
When a program does a lock operation that reads an lvb, libdlm
copies the lvb data from a bogus location instead of from the
proper offset in the buffer it just read. The location of the
lvb data is calculated wrongly due to a missing cast.
This causes a segfault in the program. This was introduced by
the libdlm changes that went into 5.2.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This bugzilla has Keywords: Regression.
Since no regressions are allowed between releases,
it is also being proposed as a blocker for this release.
Please resolve ASAP.
pushed to RHEL5 branch 1bb513e542a4ca7f3e79f5000b0bb0783a41b0b5
With this patch I am able to read/write lvbs without issue.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.