Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: Uncontrolled Format String - Checkmarx issue

by Corion (Patriarch)
on Dec 28, 2022 at 12:39 UTC ( [id://11149158]=note: print w/replies, xml ) Need Help??

in reply to Re^4: Uncontrolled Format String - Checkmarx issue
in thread Uncontrolled Format String - Checkmarx issue

Wikipedia has Uncontrolled Format String, maybe that helps you understand what the error message by Checkmarx wants to say.

I find it mildly surprising that your employer buys a tool without a contract on the vendor explaining how their tool arrives at a problem.

Looking at your format string, maybe the tool has a problem with the double %% sequence. Consider replacing it by maybe \%\% or maybe concatenate the percent sign after building the printf string.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149158]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:51 GMT
Find Nodes?
    Voting Booth?

    No recent polls found