CARVIEW |
Select Language
HTTP/2 301
date: Wed, 23 Jul 2025 06:22:11 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.com/chakra-core/ChakraCore/commit/24c4d7df8199b27d360323ce3be1d7959fd918eb
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=lziCGwGI4Fd7ZtWydXJR4eNgZ2cXftl57VKDiD4Qp471U9G%2B2B%2F1vtcRFm01FhrZtFzO7LW2sVuMLutSjCaM6Wou5UOt2ZmVVqxVDcHk3LVlxXvpqYkjtosEMDe8iJ82V5qb3GhJQ%2FfLuEbyXAow%2FiJ%2F1mWgHzcVBgos%2BFDz1tJPZ27O%2BF4jhrS8VmljXEBfWc%2F7wKuNVGR4upIubMB2SEFxNmScGxHTXwPvymDVxHKz2rw%2B8gqNt5OvlDGmjgzl4bPjCmq1%2F9%2Fz4Nr4olsp6w%3D%3D--Q7MarIK4ztJYbJAa--rmzzZJhKAJ7LOHWLKRokmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.619279297.1753251731; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:22:11 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:22:11 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AD14:26221E:4FBDC7:675BC9:68807F93
HTTP/2 200
date: Wed, 23 Jul 2025 06:22:16 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/chakra-core/ChakraCore.git
etag: W/"c0275eb4ceb2778364c78d00bc59a616"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
x-github-request-id: AD14:26221E:4FBE0E:675C1C:68807F93
This change contains combined fixes for CVE-2016-3350, CVE-2016-3377 … · chakra-core/ChakraCore@24c4d7d · GitHub
Copy file name to clipboardExpand all lines: lib/Common/DataStructures/UnitBitVector.h
Copy file name to clipboardExpand all lines: lib/Common/Memory/CustomHeap.cpp
Copy file name to clipboardExpand all lines: lib/Common/Memory/CustomHeap.h
Copy file name to clipboardExpand all lines: lib/Common/Memory/PageAllocator.h
Copy file name to clipboardExpand all lines: lib/Runtime/ByteCode/ByteCodeEmitter.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptArray.cpp
Copy file name to clipboardExpand all lines: test/es6/ES6Species-bugs.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 24c4d7d
committed
This change contains combined fixes for CVE-2016-3350, CVE-2016-3377 and a defense in depth change in the CustomHeap
Arguments symbol is uninitialized when a function definition with the name arguments occur in the body in non-split scope
When a function definition with the name arguments occurs in the body it
makrs the function as arguments creation is not needed. The arguments is
initialized only at the beginning of the body. So when arguments is used
in the param scope it will be unitialized. Also if arguments symbol is
captured in the param scope we should split the scope as it can be
overwritten in the body.
CustomHeap - FreeAllocation - Bug fix
Premise
- The allocations under interest are the jit page allocations made by the CustomHeap.
- When all bits in page's free bit vector are set, FreeAllocation API in CustomHeap behaves incorrectly - It will set a page's protection to RWX and returns.
Fix
- Refactored FreeAllocation API in CustomHeap - Merged two separate if conditions to a single if condition.
- Added entry condition checks to fail fast.
- Removed virtual keyword in a function and cached freebitVector count
- Adding more release time checks
- Added TestAnyInRange API
[MSRC34310]Array.prototype.map() type confusion
Type confusion when DirectSetItemAt() accesses a native int array return by a
user-defined [@@species] constructor. Fix by replacing with a virtual SetItem() call.1 parent 72dd87a commit 24c4d7dCopy full SHA for 24c4d7d
File tree
Expand file treeCollapse file tree
10 files changed
+443
-49
lines changedFilter options
- lib
- Common
- DataStructures
- Memory
- Parser
- Runtime
- ByteCode
- Library
- test/es6
Expand file treeCollapse file tree
10 files changed
+443
-49
lines changedlib/Common/DataStructures/UnitBitVector.h
Copy file name to clipboardExpand all lines: lib/Common/DataStructures/UnitBitVector.h+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
290 | 295 |
| |
291 | 296 |
| |
292 | 297 |
| |
|
lib/Common/Memory/CustomHeap.cpp
Copy file name to clipboardExpand all lines: lib/Common/Memory/CustomHeap.cpp+53-32Lines changed: 53 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
485 | 485 |
| |
486 | 486 |
| |
487 | 487 |
| |
488 |
| - | |
| 488 | + | |
489 | 489 |
| |
490 | 490 |
| |
491 | 491 |
| |
| |||
519 | 519 |
| |
520 | 520 |
| |
521 | 521 |
| |
522 |
| - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
523 | 529 |
| |
524 | 530 |
| |
525 | 531 |
| |
| |||
562 | 568 |
| |
563 | 569 |
| |
564 | 570 |
| |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
565 | 578 |
| |
566 | 579 |
| |
567 | 580 |
| |
| |||
729 | 742 |
| |
730 | 743 |
| |
731 | 744 |
| |
732 |
| - | |
733 |
| - | |
734 |
| - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
735 | 749 |
| |
736 |
| - | |
| 750 | + | |
| 751 | + | |
737 | 752 |
| |
738 |
| - | |
739 | 753 |
| |
740 | 754 |
| |
741 | 755 |
| |
742 | 756 |
| |
743 |
| - | |
| 757 | + | |
744 | 758 |
| |
745 | 759 |
| |
746 | 760 |
| |
| |||
777 | 791 |
| |
778 | 792 |
| |
779 | 793 |
| |
780 |
| - | |
| 794 | + | |
781 | 795 |
| |
782 | 796 |
| |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
783 | 802 |
| |
784 | 803 |
| |
785 | 804 |
| |
786 | 805 |
| |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
787 | 825 |
| |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
788 | 831 |
| |
789 | 832 |
| |
790 | 833 |
| |
| |||
796 | 839 |
| |
797 | 840 |
| |
798 | 841 |
| |
| 842 | + | |
799 | 843 |
| |
800 | 844 |
| |
801 | 845 |
| |
| |||
808 | 852 |
| |
809 | 853 |
| |
810 | 854 |
| |
811 |
| - | |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 |
| - | |
818 |
| - | |
819 |
| - | |
820 |
| - | |
821 |
| - | |
822 |
| - | |
823 |
| - | |
824 |
| - | |
825 |
| - | |
826 |
| - | |
827 |
| - | |
828 |
| - | |
829 |
| - | |
830 |
| - | |
831 |
| - | |
832 |
| - | |
833 |
| - | |
834 | 855 |
| |
835 | 856 |
| |
836 | 857 |
| |
|
lib/Common/Memory/CustomHeap.h
Copy file name to clipboardExpand all lines: lib/Common/Memory/CustomHeap.h+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
504 | 504 |
| |
505 | 505 |
| |
506 | 506 |
| |
| 507 | + | |
507 | 508 |
| |
508 | 509 |
| |
509 | 510 |
| |
|
lib/Common/Memory/PageAllocator.h
Copy file name to clipboardExpand all lines: lib/Common/Memory/PageAllocator.h+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
518 | 518 |
| |
519 | 519 |
| |
520 | 520 |
| |
521 |
| - | |
522 |
| - | |
| 521 | + | |
| 522 | + | |
523 | 523 |
| |
524 | 524 |
| |
525 | 525 |
| |
|
+19-9Lines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
816 | 816 |
| |
817 | 817 |
| |
818 | 818 |
| |
| 819 | + | |
819 | 820 |
| |
820 | 821 |
| |
821 | 822 |
| |
| |||
5029 | 5030 |
| |
5030 | 5031 |
| |
5031 | 5032 |
| |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
5032 | 5040 |
| |
5033 | 5041 |
| |
5034 | 5042 |
| |
| |||
5895 | 5903 |
| |
5896 | 5904 |
| |
5897 | 5905 |
| |
5898 |
| - | |
5899 |
| - | |
5900 |
| - | |
5901 |
| - | |
5902 |
| - | |
5903 |
| - | |
5904 |
| - | |
5905 | 5906 |
| |
5906 | 5907 |
| |
5907 | 5908 |
| |
| |||
6670 | 6671 |
| |
6671 | 6672 |
| |
6672 | 6673 |
| |
| 6674 | + | |
6673 | 6675 |
| |
6674 | 6676 |
| |
6675 | 6677 |
| |
6676 |
| - | |
| 6678 | + | |
6677 | 6679 |
| |
6678 | 6680 |
| |
6679 | 6681 |
| |
| |||
6684 | 6686 |
| |
6685 | 6687 |
| |
6686 | 6688 |
| |
6687 |
| - | |
| 6689 | + | |
6688 | 6690 |
| |
6689 | 6691 |
| |
6690 | 6692 |
| |
| 6693 | + | |
| 6694 | + | |
| 6695 | + | |
| 6696 | + | |
| 6697 | + | |
| 6698 | + | |
| 6699 | + | |
| 6700 | + | |
6691 | 6701 |
| |
6692 | 6702 |
| |
6693 | 6703 |
| |
|
lib/Runtime/ByteCode/ByteCodeEmitter.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/ByteCode/ByteCodeEmitter.cpp+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3693 | 3693 |
| |
3694 | 3694 |
| |
3695 | 3695 |
| |
3696 |
| - | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
3697 | 3699 |
| |
3698 | 3700 |
| |
3699 | 3701 |
| |
|
lib/Runtime/Library/JavascriptArray.cpp
Copy file name to clipboardExpand all lines: lib/Runtime/Library/JavascriptArray.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9019 | 9019 |
| |
9020 | 9020 |
| |
9021 | 9021 |
| |
9022 |
| - | |
| 9022 | + | |
9023 | 9023 |
| |
9024 | 9024 |
| |
9025 | 9025 |
| |
|
test/es6/ES6Species-bugs.js
Copy file name to clipboardExpand all lines: test/es6/ES6Species-bugs.js+35Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
30 | 65 |
| |
31 | 66 |
| |
32 | 67 |
|
You can’t perform that action at this time.
0 commit comments