Changeset 48593 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Sep 21, 2009, 1:37:16 PM (16 years ago)
Author:
[email protected]
Message:

2009-09-21 Jedrzej Nowacki <[email protected]>

Reviewed by Eric Seidel.

[Fix] SourceCode's uninitialized member

Potential source of crashes and bugs was fixed. Default constructor
didn't initialized m_provider member.

https://bugs.webkit.org/show_bug.cgi?id=29364

  • parser/SourceCode.h: (JSC::SourceCode::SourceCode):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r48590 r48593  
     12009-09-21  Jedrzej Nowacki  <[email protected]>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [Fix] SourceCode's uninitialized member
     6       
     7        Potential source of crashes and bugs was fixed. Default constructor
     8        didn't initialized m_provider member.
     9
     10        https://bugs.webkit.org/show_bug.cgi?id=29364
     11
     12        * parser/SourceCode.h:
     13        (JSC::SourceCode::SourceCode):
     14
    1152009-09-21  Oliver Hunt  <[email protected]>
    216
  • trunk/JavaScriptCore/parser/SourceCode.h

    r44224 r48593  
    3838    public:
    3939        SourceCode()
    40             : m_startChar(0)
     40            : m_provider(0)
     41            , m_startChar(0)
    4142            , m_endChar(0)
    4243            , m_firstLine(0)
Note: See TracChangeset for help on using the changeset viewer.