I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warnings:
V559 Suspicious assignment inside the condition expression of 'if' operator: RetDepth = 16. dibhelper.cpp 406
V618 It's dangerous to call the 'fprintf' function in such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str); dibhelper.cpp 25
I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warnings:
V559 Suspicious assignment inside the condition expression of 'if' operator: RetDepth = 16. dibhelper.cpp 406 V618 It's dangerous to call the 'fprintf' function in such a manner, as the line being passed could contain format specification. The example of the safe code: printf("%s", str); dibhelper.cpp 25