pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/libgit2/libgit2/pull/7178

href="https://github.githubassets.com/assets/actions-0e714a98ea09295a.css" /> Check object lengths against headers in `read_loose` by howtonotwin · Pull Request #7178 · libgit2/libgit2 · GitHub
Skip to content

Check object lengths against headers in read_loose#7178

Open
howtonotwin wants to merge 1 commit intolibgit2:mainfrom
howtonotwin:read_loose_standard-bounds
Open

Check object lengths against headers in read_loose#7178
howtonotwin wants to merge 1 commit intolibgit2:mainfrom
howtonotwin:read_loose_standard-bounds

Conversation

@howtonotwin
Copy link
Copy Markdown

Avoid a buffer overrun when an object's header specifies a short length but the body is longer (fix #7177). Take care to preserve the behavior that too-short object bodies are not an error but get zero-padded.

Avoid a buffer overrun when an object's header specifies a short length
but the body is longer (fix libgit2#7177). Take care to preserve the behavior
that too-short object bodies are not an error but get zero-padded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Out-of-bounds write when reading small objects that claim to be smaller than they are

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy