Make sure (*Struct).Fields map is not nil before assigment#52627
Make sure (*Struct).Fields map is not nil before assigment#52627kirecek wants to merge 1 commit intogravitational:masterfrom
Conversation
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
kirecek
left a comment
There was a problem hiding this comment.
I have read the CLA Document and I hereby sign the CLA
|
recheck |
|
Thanks for the PR! I thought this was covered already in |
ce66f26 to
593cfe8
Compare
|
Yes, All checks in gh workflows failed tho, rebased to master again. |
Head branch was pushed to by a user without write access
|
cool, thank you! Closing this then :) |
During the following operation:
fields map is not initialized and panics, i.e:
This occurs for example in DynamoDB queries.
I added very simple test case that covers
trimToMaxSizefor given type.changelog: fix panic when trimming audit log entries