Verified Commit 47afb7f2 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Apply minor audit tool security update

parent bcd62f75
......@@ -65,7 +65,7 @@ function _getLocalResourceContents (fileLocation, callback) {
fileSystem.open(fileLocation, 'r', function (error, fileDescriptor) {
var buffer = new Buffer(statistics.size);
var buffer = Buffer.alloc(statistics.size);
fileSystem.read(fileDescriptor, buffer, 0, buffer.length, null, function (error, bytesRead, buffer) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment