Custom Query (301 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (55 - 57 of 301)

Ticket Resolution Summary Owner Reporter
#105 fixed Division by zero in svghandler.cpp Dmitry A. Kuminov
Description

The SVG module has a function, pathArc() defined in source:/trunk/src/svg/qsvghandler.cpp that uses its arguments as divisors w/o checking if they are zero or not.

This function is a reason why e.g. mp3diags traps. First of all, mp3diags somehow supplies a wrong SVG file to QIcon which contains these invalid zero arguments (this needs to be investigated, I suspect it's an OS/2 specific bug). Then, this function causes SIGFPE (which is originally XCPT_FLOAT_INVALID_OPERATION) because of division by zero.

The obvious fix is to replace

    rx = qAbs(rx);
    ry = qAbs(ry);

at around #1285 in svghandler.cpp to

    rx = qAbs(rx);
    ry = qAbs(ry);
    if (rx == 0 || ry == 0)
        return; 

I didn't commit this fix though. This code is in the Qt code base for so long that it would definitely be fixed if it made problems on other platforms (it's very easy to create an invalid .svg to cause zero arguments to be passed in there). But it is still not fixed (see http://qt.gitorious.org/qt/qt/blobs/master/src/svg/qsvghandler.cpp) which means that for some reason it doesn't make any problems anywhere except OS/2.

#112 fixed Do not use EXEPACK tool on static libraries Dmitry A. Kuminov
Description

Currently, a static library target is fed to EXEPACK as well as the EXE and DLL target. LxLite? we use for EXEPACK just nicely refuses to proceed, but this needs to be fixed anyway.

#144 fixed Don't show floppy drives rudi
Description

Inspired by #137 I'm asking myself if it would be complicated to remove A: and B: drives completely from the file dialogs on systems that don't have legacy floppy drives (notebooks, multimedia PCs). This case is indicated by ERROR_BAD_UNIT returned from certain DosXXX calls and can be simulated by not loading IBMxFLPY.ADD.

Note: See TracQuery for help on using queries.