sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

Fix variable in systemd not initialized issue

Open daxia16 opened this issue 3 years ago • 2 comments

Why I did it

The variable is not initialized in src/systemd-sonic-generator/systemd-sonic-generator.c. I fixed this one.

How I did it

Assure pointer is initialized to NULL when defined and before use.

How to verify it

Which release branch to backport (provide reason below if selected)

  • [ ] 201811
  • [ ] 201911
  • [ ] 202006
  • [ ] 202012
  • [ ] 202106
  • [ ] 202111
  • [ ] 202205

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

daxia16 avatar Nov 08 '22 11:11 daxia16

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: daxia16 (56ceb4c3bc7b2dcebd830d455be6842f847e37eb)

@daxia16 please check EasyCLA

liat-grozovik avatar Nov 10 '22 12:11 liat-grozovik

@daxia16 PR conflicts with 202211 branch

mssonicbld avatar Feb 03 '23 15:02 mssonicbld