GSoC/GCI Archive
Google Code-in 2014 Haiku

Fix 3 issues in Haiku that were detected by Coverity (5814067868467200)

completed by: Timothy Gu

mentors: Urias McCullough, Dario, Jerome Duval

Coverity scans Haiku's source code looking for issue and creates a report.  This report may shows hundreds of potential issues.

Figure out the correct fix for three of the listed issues and submit patches.

The patches will then be reviewed for correctness and credit given.

If you want to submit more than 3, that is fine as well, and may speed up the review/credit process as there are likely to be fewer false positives or incorrect fixes.


Further details

Please create a Coverity account at and request contributor access to the haiku project there. Once that is done, you will be able to view the CIDs and select one or more to work on.

You should change the filter settings to only show "Currently Detected" CIDs. Beware of false positives - sometimes Coverity's analysis doesn't understand Haiku code intentions.

Once you locate one you wish to fix, please make sure it is not a false positive, make sure the fix addresses the problem (not the symptom), and submit a patch on our Bug Tracker at with a keyword gci2014. The patch and trac ticket should mention the CID, and should be created with git format-patch per our patch submission guildelines at

There is also a brief page on Haiku's Coverity usage here:

Feel free to join #haiku on irc/freenode if you need further assistance.