Public bug reported:

Binary package hint: dvd+rw-tools

dvd+rw-tools-7.1-6, kubuntu 10.04.

The following code in poor_man_rewritable() in growisofs_mmc.cpp 
contains a coding error:

    else if (profile==0x1A ||           // DVD+RW
             profile==0x2A ||           // DVD+RW Double Layer
             (profile&=0xF0)==0x40)      // BD-R[E]
    {   fprintf (stderr,"%s: flushing cache\n",ioctl_device);
        if (flush_cache(cmd))   exit (errno);
    }

The expression (profile&=0x40) should almost certainly not be
an embedded assignment.  Even if it is not causing an existing bug,
this is the kind of thing someone in the future will trip over.

** Affects: dvd+rw-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
erroneous reassignment to variable (keypunch?)
https://bugs.launchpad.net/bugs/600896
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to