Skip to content

Conversation

@dilijev
Copy link
Contributor

@dilijev dilijev commented Jan 5, 2017

Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects.

Fix some OACR warnings about non-const locals in JavascriptObject.cpp since I was already fixing an OACR warning in the area.

…scCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects.

JavascriptObject::DefinePropertiesHelperForGenericObjects can reallocate descriptors (doubling the length). The analysis needs to know that the index is still less than the actual size of the array.
@dilijev dilijev changed the title Fix some OACR warnings about non-const locals. Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects. Jan 5, 2017
@dilijev dilijev changed the title Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects. Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] Jan 5, 2017
@ianwjhalliday
Copy link
Collaborator

LGTM

@chakrabot chakrabot merged commit 9e09807 into chakra-core:release/1.4 Jan 5, 2017
chakrabot pushed a commit that referenced this pull request Jan 5, 2017
…lysis of descriptors[descCount]

Merge pull request #2310 from dilijev:bug10259529

Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects.

Fix some OACR warnings about non-const locals in JavascriptObject.cpp since I was already fixing an OACR warning in the area.
@dilijev dilijev deleted the bug10259529 branch January 5, 2017 03:04
chakrabot pushed a commit that referenced this pull request Jan 5, 2017
…o satisfy analysis of descriptors[descCount]

Merge pull request #2310 from dilijev:bug10259529

Fix VSO 10259529: Add assertion to satisfy analysis of descriptors[descCount] in JavascriptObject::DefinePropertiesHelperForGenericObjects.

Fix some OACR warnings about non-const locals in JavascriptObject.cpp since I was already fixing an OACR warning in the area.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants