-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
解析xls的时候 格式保护之后 size过大 内存溢出 #57
Comments
Please attach sample file. |
对新建的xls表格进行如下操作后 https://jingyan.baidu.com/article/597035521917ee8fc00740d0.html |
try this fork: https://github.com/sergeilem/xls |
您好,试了您的分支,还是出现了 内存溢出 @sergeilem |
我也遇到类似的问题 |
when xls files are encrypted, there will be a FilePass token (0x2f) we can stop parsing while reading in this token as a work around solution. in workbook.go
|
@pcjeff thanks for this workaround! I can still open and see the .xls file contents in LibreOffice as well as edit it, but there's a padlock icon on the sheet tab. I'm not sure how exactly it "protects" the sheet. In my case this bug caused a huge allocation crashing my program with OOM in the end. I'd love to have support for encrypted/protected sheets but until then just skipping such files is acceptable. |
No description provided.
The text was updated successfully, but these errors were encountered: