Review Request: Fix pretty printer for QString.

Maciek Zarzycki zarzych at gmail.com
Tue Oct 4 23:07:49 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102778/
-----------------------------------------------------------

Review request for KDevelop.


Description
-------

The printer may be ran when the QString object is not yet initialized.
In this case we might get memory access violation resulting from undefined value of QString::size.
Wrap the printer inside try/except to prevent this.


This addresses bug 280201.
    http://bugs.kde.org/show_bug.cgi?id=280201


Diffs
-----

  debuggers/gdb/printers/qt4.py 51f3a11 

Diff: http://git.reviewboard.kde.org/r/102778/diff/diff


Testing
-------

Ran unit tests.


Thanks,

Maciek Zarzycki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20111004/0625b84c/attachment.html>


More information about the KDevelop-devel mailing list