-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug: workbook_validate_sheet_name buffer-overflow #442
Comments
Thanks for the report. That is omission/bug. I'll add a fix. |
I've pushed a fix for this to main. There is now a new error code called |
Should verify in advance that |
My initial thought was that the end user should check for NULL and that I've force pushed that change to main. |
hello, maybe there exist a bug in workbook_validate_sheet_name.
When
sheetname
is an empty string (""
), theworkbook_validate_sheet_name
function does not check if the string length is 0, leading to a buffer overflow.The following is the relevant code, the crash occurs at workbook.c:workbook_validate_sheet_name.The text was updated successfully, but these errors were encountered: