Bug 959215

Summary: libbluray: off-by-one errors in src/libbluray/register.c
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libblurayAssignee: Xavier Bachelot <xavier>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominik, xavier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1045453 (view as bug list) Environment:
Last Closed: 2013-10-24 10:02:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 959198, 1045453    

Description Florian Weimer 2013-05-03 11:13:11 UTC
There are a couple of comparisons which should use ">=" instead of ">" (each occurs twice):

    if (reg < 0 || reg > BD_GPR_COUNT) {
    if (reg < 0 || reg > BD_PSR_COUNT) {

These look harmless, but should still be fixed.

Comment 2 Fedora End Of Life 2013-09-16 13:45:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 3 Xavier Bachelot 2013-10-23 17:24:52 UTC
Hi Florian,

Thanks for the report and sorry for the late reply.
I sent a patch upstream, I'll close this bug once committed.

Regards,
Xavier