Bug 959215 - libbluray: off-by-one errors in src/libbluray/register.c
Summary: libbluray: off-by-one errors in src/libbluray/register.c
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libbluray
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 959198 1045453
TreeView+ depends on / blocked
 
Reported: 2013-05-03 11:13 UTC by Florian Weimer
Modified: 2013-12-20 13:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1045453 (view as bug list)
Environment:
Last Closed: 2013-10-24 10:02:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.