SIGN IN SIGN UP
go-gorm / gorm UNCLAIMED

The fantastic ORM library for Golang, aims to be developer friendly

0 0 9 Go

fix(UnixSecondSerializer.Value): Avoid panic when handling unsigned integer values (#7608)

* fix reflection panic

* testing

* fix: do not pass a nil Context

* //nolint: gosec

* reduce cyclomatic complexity

* add a type assertion safety check for time.Time

Co-authored-by: propel-code-bot[bot] <203372662+propel-code-bot[bot]@users.noreply.github.com>

* test coverage for integer overflow edge case

---------

Co-authored-by: david_du <david.du@yuansuan.com>
Co-authored-by: propel-code-bot[bot] <203372662+propel-code-bot[bot]@users.noreply.github.com>
S
shaouai committed
d9372f551000bef6535f5679c38255ca0be327bc
Parent: d8cdb39
Committed by GitHub <noreply@github.com> on 10/26/2025, 12:29:44 PM