Bug 1045453 - libbluray: off-by-one errors in src/libbluray/register.c
Summary: libbluray: off-by-one errors in src/libbluray/register.c
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libbluray
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bastien Nocera
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 959215 1404202
Blocks: 959198
TreeView+ depends on / blocked
 
Reported: 2013-12-20 13:06 UTC by Florian Weimer
Modified: 2020-09-29 20:25 UTC (History)
4 users (show)

Fixed In Version: libbluray-0.2.3-6.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 959215
Environment:
Last Closed: 2020-09-29 20:25:50 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3994 0 None None None 2020-09-29 20:25:54 UTC

Description Florian Weimer 2013-12-20 13:06:04 UTC
+++ This bug was initially created as a clone of Bug #959215 +++

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.

--- Additional comment from Fedora End Of Life on 2013-09-16 15:45:48 CEST ---

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

--- Additional comment from Xavier Bachelot on 2013-10-23 19:24:52 CEST ---

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

--- Additional comment from Xavier Bachelot on 2013-10-24 12:02:26 CEST ---

Fix committed upstream :
http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=c6ae9afd73c183231f39804de184e8c5c09de563

Comment 5 Bastien Nocera 2020-04-21 10:14:45 UTC
Built in libbluray-0.2.3-6.el7

Comment 9 errata-xmlrpc 2020-09-29 20:25:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (libbluray bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3994


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