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):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.