Skip to content

[v15] [buddy] Make sure (*Struct).Fields map is not nil before assignment (…#53308

Merged
capnspacehook merged 1 commit intobranch/v15from
capnspacehook/backport/v15/53035
Mar 23, 2025
Merged

[v15] [buddy] Make sure (*Struct).Fields map is not nil before assignment (…#53308
capnspacehook merged 1 commit intobranch/v15from
capnspacehook/backport/v15/53035

Conversation

@capnspacehook
Copy link
Copy Markdown
Contributor

Backport of #53035.

changelog: fix panic when trimming audit log entries

…53035)

* fix: make sure Fields map is not nil

* move new test to existing file, allocate map for struct up front

* make linter happy

---------

Co-authored-by: Erik Jankovic <erik.jankovic@gmail.com>
@capnspacehook capnspacehook added this pull request to the merge queue Mar 23, 2025
Merged via the queue into branch/v15 with commit 728ee26 Mar 23, 2025
35 checks passed
@capnspacehook capnspacehook deleted the capnspacehook/backport/v15/53035 branch March 23, 2025 11:23
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants