Bug 107468 - dvdbackup: [patch] floating point division by zero exception when reading some DVDs
Summary: dvdbackup: [patch] floating point division by zero exception when reading som...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-03 13:30 UTC by Jonathan Liu
Modified: 2007-01-22 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1017 bytes, patch)
2007-01-03 13:30 UTC, Jonathan Liu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Liu 2007-01-03 13:30:13 UTC
When reading information from DVDs using dvdbackup, the CheckSizeArray() function may give a floating point division by zero exception as a result of failing to check if the divisor is non-zero before diving by the divisor.

How-To-Repeat: dvdbackup -i /dev/acd0 -I
 where /dev/acd0 is the DVD device

Note: This only occurs on some DVDs.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-03 21:15:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-22 20:54:16 UTC
sat         2007-01-22 20:54:11 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/dvdbackup   Makefile 
    sysutils/dvdbackup/files patch-src::dvdbackup.c 
  Log:
  - Prevent a division by zero [1]
  - Use gentoo mirrors
  - Bump portrevision
  
  PR:             ports/107468 [1]
  Submitted by:   Jonathan Liu <Net147@hotmail.com>
  Approved by:    Conrad J. Sabatier <conrads at cox.net> (maintainer timeout, 19 days)
  
  Revision  Changes    Path
  1.7       +2 -2      ports/sysutils/dvdbackup/Makefile
  1.3       +10 -0     ports/sysutils/dvdbackup/files/patch-src::dvdbackup.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 sat freebsd_committer freebsd_triage 2007-01-22 20:54:19 UTC
State Changed
From-To: feedback->closed

Committed, thanks!