Review Request: Fix pretty printer for QString.

Commit Hook null at kde.org
Wed Oct 5 18:52:40 UTC 2011


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


This review has been submitted with commit 82c3c7895df15e3fd649e4a1ddbbc58b3f2a2a3e by Maciek Zarzycki to branch master.

- Commit Hook


On Oct. 4, 2011, 11:07 p.m., Maciek Zarzycki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102778/
> -----------------------------------------------------------
> 
> (Updated Oct. 4, 2011, 11:07 p.m.)
> 
> 
> 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/20111005/8b7bff91/attachment.html>


More information about the KDevelop-devel mailing list