-
-
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
workbook_close stack-buffer-overflow #445
Comments
It is also worth noting that when criteria are 16, 27, 29, 31, 33, SEGV will result. There may be other criteria to consider |
Thanks for the report. That is a bug. There should be validation in the function to check that conditional formats that reference strings actually have a non-NULL string. The other issues are probably similar. I'll take a look at those too. |
It turns out that I did have validation in the code for this but the example abuses the API to use a TEXT criteria for a CELL conditional format. The documentation for each conditional format type lists the allowable criteria (example). Nevertheless, the library should validate that as well. I'll add a new check. |
Add extra validation to ensure that conditional formatting criteria are valid for the given type. Issue #445
I've pushed a fix to main that checks that the conditional formatting criteria matches the conditional format type. Your example will now return a |
hello, maybe there exist a bug in
workbook_close
.Below is an example
The following is asan information
The text was updated successfully, but these errors were encountered: