Skip to content

Initialize uninitialized variable - #3023

Open
rmuthiah wants to merge 1 commit into
google:mainfrom
rmuthiah:b543844800
Open

Initialize uninitialized variable#3023
rmuthiah wants to merge 1 commit into
google:mainfrom
rmuthiah:b543844800

Conversation

@rmuthiah

Copy link
Copy Markdown
Collaborator

Initialize tm struct with zero values to prevent mktime from reading uninitialized memory (such as tm_isdst), resolving MSAN failure.

Bug: b/543844800
Test: bazel test //cuttlefish/host/libs/web:parse_time_test
Assisted-By: Antigravity:Gemini-Next

@rmuthiah rmuthiah added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Aug 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Aug 14, 2026
@Databean Databean added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Aug 14, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Aug 14, 2026
@Databean
Databean enabled auto-merge August 14, 2026 20:01
Initialize tm struct with zero values to prevent mktime from reading
uninitialized memory (such as tm_isdst), resolving MSAN failure.

Bug: b/543844800
Test: bazel test //cuttlefish/host/libs/web:parse_time_test
Assisted-By: Antigravity:Gemini-Next
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.

3 participants