mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 06:06:09 -06:00
[PR #511] [CLOSED] Memory safety fixes #512
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#512
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/511
Author: @billdenney
Created: 4/5/2026
Status: ❌ Closed
Base:
main← Head:memory-safety-fixes📝 Commits (5)
88a44a9worksheet: fix uint8_t counter overflow in validation list functionseeb2d89worksheet: fix quadratic over-allocation in _set_default_table_columnsde6aaeeutility: guarantee null termination after strncpy in lxw_rowcol_to_formula_absda95035utility: use size_t index and unsigned char cast in lxw_str_tolower74e5406Changes: document memory safety fixes for 1.2.5📊 Changes
4 files changed (+94 additions, -6 deletions)
View changed files
📝
Changes.txt(+36 -0)📝
src/utility.c(+3 -2)📝
src/worksheet.c(+4 -4)➕
test/unit/worksheet/test_worksheet_validation_list_overflow.c(+51 -0)📄 Description
This was intended as a simple fix for some possible memory issues identified by AI. If it needs discussion, I'm happy to open an issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.