Skip to content
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

Avoid buffer overflow when loading tensors with insufficient data fro… #52663

Commits on Oct 25, 2021

  1. Avoid buffer overflow when loading tensors with insufficient data fro…

    …m checkpoints.
    
    `CopyDataFromTensorSliceToTensorSlice` does not (and cannot conveniently)
    provide any bounds checking on its own, so the size is instead checked prior
    to passing unvalidated data to that function.
    
    PiperOrigin-RevId: 392971286
    Change-Id: If2073b36d4d5eedd386329f56729395fd7effee1
    tensorflower-gardener authored and mihaimaruseac committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    372a6db View commit details
    Browse the repository at this point in the history