no limitation for "%s" while calling fscanf()
Open
- Dominant language
- C
- Stars
- 2k
- Forks
- 679
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/alibaba/LVS/blob/2c7f867baada4cc00226f492c65f6e6f22cbb2d1/kernel/drivers/staging/iio/Documentation/iio_utils.h#L136
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at kernel/drivers/staging/iio/Documentation/iio_utils.h around line 136 and inspect the surrounding buffer declaration and fscanf call. Determine the appropriate input bound from the available buffer size, update the scan format, and verify that the call cannot write beyond the destination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100