From 09666e0bc8a8a8212be01cf892132c378dd2a94f Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Mon, 9 Dec 2019 10:46:46 -0800 Subject: [PATCH] Capped max size of SMBIOS results --- modules/smbios.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/smbios.js b/modules/smbios.js index b1f5393..822cd9a 100644 --- a/modules/smbios.js +++ b/modules/smbios.js @@ -191,6 +191,7 @@ function SMBiosTables() catch(e) { } + if (JSON.stringify(r).length > 65535) { r = {}; } return r; } this.processorInfo = function processorInfo(data) {