[PR #345] [CLOSED] add some calloc memory checks #467

Closed
opened 2026-05-05 12:16:40 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/345
Author: @squinky86
Created: 7/14/2021
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • e9d6994 add some calloc memory checks

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 src/xmlwriter.c (+4 -0)

📄 Description

I was playing with the chart features and ran across some unchecked callocs. In the unlikely event that the allocation(s) fail, they would cause some null dereferences.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jmcnamara/libxlsxwriter/pull/345 **Author:** [@squinky86](https://github.com/squinky86) **Created:** 7/14/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e9d6994`](https://github.com/jmcnamara/libxlsxwriter/commit/e9d6994e1d7db1e0bd70ae6a7e968bd70459ede0) add some calloc memory checks ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/xmlwriter.c` (+4 -0) </details> ### 📄 Description I was playing with the chart features and ran across some unchecked callocs. In the unlikely event that the allocation(s) fail, they would cause some null dereferences. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 12:16:40 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#467
No description provided.