Skip to content
Snippets Groups Projects
Verified Commit 47afb7f2 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Apply minor audit tool security update

parent bcd62f75
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ function _getLocalResourceContents (fileLocation, callback) { ...@@ -65,7 +65,7 @@ function _getLocalResourceContents (fileLocation, callback) {
fileSystem.open(fileLocation, 'r', function (error, fileDescriptor) { 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) { fileSystem.read(fileDescriptor, buffer, 0, buffer.length, null, function (error, bytesRead, buffer) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment