We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cd52c3 + 81dbc6d commit e01ba1eCopy full SHA for e01ba1e
src/gprofiler/frontend/src/utils/generalUtils.js
@@ -58,6 +58,9 @@ function clone(target) {
58
function _clone(b, a) {
59
var nextBatch = [];
60
for (var key in b) {
61
+ if (key === '__proto__' || key === 'constructor') {
62
+ continue; // Skip unsafe properties
63
+ }
64
if (typeof b[key] === 'object' && b[key] !== null) {
65
if (b[key] instanceof Array) {
66
a[key] = [];
0 commit comments