To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112119
                 Issue #|112119
                 Summary|extensions: crash in scanning via sane
               Component|framework
                 Version|DEV300m80
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|cmc





------- Additional comments from c...@openoffice.org Fri Jun  4 13:19:16 +0000 
2010 -------
As per https://bugzilla.redhat.com/show_bug.cgi?id=600242 the backtrace there
shows that we're crashing on dividing by 0 where aParams.bytes_per_line is 0
from aParams returned from sane. I see that we're not checking if
sane_get_parameters failed so it might simply be that it failed and we went on
to use invalid values. Anyway, patch attached would make us not crash if that
happens, or if the bytes_per_line was 0

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to