mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #233] [CLOSED] Changed scanf to fgets #520
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/233
Author: @VilopusDoom
Created: 6/5/2019
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
4908e4cChanged scanf to fgets📊 Changes
1 file changed (+27 additions, -17 deletions)
View changed files
📝
conversions/binary_to_decimal.c(+27 -17)📄 Description
Scanf is generally considered to be less secure than fgets. If you need bigger than 100 chars, change the array length, and the fgets statement accordingly
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.