Scanf without field width limit specified

Bug #1863090 reported by Karl Vestin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
New
Undecided
Unassigned

Bug Description

The Codacy static code analysis reports a small number of cases where scanf is used without a specific field width limit. This can potentially cause crashes.

Pattern: scanf() without field width limits can crash with huge input data. (ccpcheck)

Codacy link: https://app.codacy.com/gh/epics-base/epics-base/issues?bid=16430872&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W119LHsiaWQiOiJDYXRlZ29yeSIsInZhbHVlcyI6W119LHsiaWQiOiJMZXZlbCIsInZhbHVlcyI6WyJXYXJuaW5nIl19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbIjIyNDAiXX0seyJpZCI6IkF1dGhvciIsInZhbHVlcyI6W119XQ==

Tags: codacy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.