-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Heap buffer overflow at source_range_serialization.cpp:73
#103969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/103969
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit c7fd64d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@davidberard98 could you review this change? |
|
@kobrineli The builds are failing with |
|
@kit1980, fixed |
|
@pytorchbot rebase -s |
|
LGTM as long as tests pass. Feel free to ping me if I forget to check. |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
33ba48f to
d242533
Compare
|
@davidberard98 |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Hi! We've been fuzzing torchvision project with sydr-fuzz.
We've found a heap buffer overflow error at
source_range_serialization.cpp:73in pytorch project.The error occurs because there is not check in
deserialize_sourcethattext_table_size can be less thanfnameIndex. To prevent the error the corresponding check must be located.torchvision version: 9d0a93eee90bf7c401b74ebf9c8be80346254f15
pytorch version: 0f1621d
OS: Ubuntu 20.04
How to reproduce
Build docker from here and run the container:
Run the target on this input: serialization-crash.txt
You will see the following output: