steveh250 / Unix-Menu-Program

An easy to use character based menu program written in C - use it to automate some of those regular tasks. Takes a simple input text file and draws a menu (uses curses or newt with a common menu input file). Takes up to 30 options per menu, curses menu draws one or two columns columns, newt provides a scrollable list.
13 stars 3 forks source link

Static code analysis #6

Open steveh250 opened 4 years ago

steveh250 commented 4 years ago

Run through static code analysis - sonarqube? Then fix.

steveh250 commented 4 years ago

Ran Codacy analysis

Security NOTE: First three terminate the string with \0 so will not fix. image

Error Prone NOTE: These have been tested - non-issues. image

steveh250 commented 4 years ago

Substantial changes to code related to how string handing which may address the above issues (by-product of changing to getline) - requires rerunning.