Skip to content

Samy fixes#102

Open
sshehata wants to merge 5 commits intoextrame:masterfrom
prvbl:samy-fixes
Open

Samy fixes#102
sshehata wants to merge 5 commits intoextrame:masterfrom
prvbl:samy-fixes

Conversation

@sshehata
Copy link

No description provided.

Ruben de Vries and others added 5 commits February 18, 2026 11:55
wb.Formats[fNo] can return nil when the format number doesn't
exist in the map, causing a nil pointer dereference when accessing
.str. Add nil check consistent with XfRk.String which already
handles this case.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- bof.go: guard utf16String against count==0 to prevent panic
- col.go: add SST/XF bounds checks, fix NumberCol format detection bug
- workbook.go: remove os.Exit(1), check binary.Read errors, add nil/bounds
  checks in ReadAllCells
- worksheet.go: remove debug print, check binary.Read errors, validate sizes
  before arithmetic, guard empty slice access
- comparexlsxlsx.go: add nil check for xlsRow before use
- row.go: add bounds checks for string slice access
- cell_range.go: fix FristColB typo to FirstColB
- example_test.go: use OpenWithCloser, add nil check for sheet

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments