BAN-AI-Multics / ban-telnet

ban-telnet: TELNET client and server (for UNIX)

Home Page:https://github.com/BAN-AI-Multics/ban-telnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(SH-2059) Use of variable in `printf` format string

johnsonjh opened this issue · comments

Description

Problematic code: bash printf "Hello, $NAME\n" #### Preferred code: bash printf "Hello, %s\n" "$NAME" printf interprets escape sequences and format specifiers in the format string. If variables are included, any escape sequences or format specifiers in the data will be interpreted too, where you might have wanted …

Occurrences

There are 12 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2059/occurrences/

⚠️ This has been marked to be closed in 7 days.

⚠️ This has been marked to be closed in 7 days.

Ignored / intentional