alibaba / alibaba/x-deeplearning

no limitation for "%s" while calling fscanf()

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/alibaba/x-deeplearning/blob/9d2714b4997db20e4f97e083d09caef979823f56/xdl/third_party/tbb/examples/parallel_for/tachyon/src/parse.cpp#L199

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at xdl/third_party/tbb/examples/parallel_for/tachyon/src/parse.cpp line 199 and inspect the fscanf() call using "%s". Confirm the expected input handling and check nearby parsing code for tests or validation; done means the string read is safely bounded without changing the example's intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.