Changeset 64912 in webkit
- Timestamp:
- Aug 7, 2010, 10:34:19 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r64866 r64912 1 2010-08-07 Zoltan Herczeg <zherczeg@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Bitmap.h has no default constructor 6 https://bugs.webkit.org/show_bug.cgi?id=43619 7 8 Without a constructor, the initial bits of the Bitmap class 9 are undefinied. If only a few, or zero bits are 0, the memory 10 area provided by AlignedMemoryAllocator can be easly exhausted. 11 12 Csaba Osztrogonác helped to find this bug. 13 14 * wtf/Bitmap.h: 15 (WTF::::Bitmap): 16 1 17 2010-08-06 Rafael Antognolli <antognolli@profusion.mobi> 2 18 -
trunk/JavaScriptCore/wtf/Bitmap.h
r64627 r64912 33 33 34 34 public: 35 Bitmap(); 36 35 37 bool get(size_t) const; 36 38 void set(size_t); … … 55 57 FixedArray<WordType, words> bits; 56 58 }; 59 60 template<size_t size> 61 inline Bitmap<size>::Bitmap() 62 { 63 clearAll(); 64 } 57 65 58 66 template<size_t size>
Note:
See TracChangeset
for help on using the changeset viewer.