[PATCH] llvm-cov: Slightly improved error checking.

Yuchen Wu yuchenericwu at hotmail.com
Wed Nov 6 15:31:11 PST 2013


llvm-cov: Slightly improved error checking.

- readInt() should check all 4 bytes can be read, not just 1.
- In the event of false data in the gcno file, it was possible to index
  into a non-existent index of SmallVector, causing assertion error. 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-llvm-cov-Slightly-improved-error-checking.patch
Type: application/octet-stream
Size: 1890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131106/b90a8f6f/attachment.obj>


More information about the llvm-commits mailing list