minibsdiff icon indicating copy to clipboard operation
minibsdiff copied to clipboard

Fix V522 warning from PVS-Studio Static Analyzer

Open buslov opened this issue 7 years ago • 0 comments

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio.

Warning: Dereferencing of the null pointer 'buf' might take place. The potential null pointer is passed into 'write_file' function. Inspect the second argument.

buslov avatar Oct 30 '17 20:10 buslov