Change in libosmocore[master]: osmo-sim-test: initalize tlv_parsed structure with zeros

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Mar 3 10:27:06 UTC 2020


Hello pespin, Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/libosmocore/+/17269

to look at the new patch set (#2).

Change subject: osmo-sim-test: initalize tlv_parsed structure with zeros
......................................................................

osmo-sim-test: initalize tlv_parsed structure with zeros

The variable struct tlv_parsed tp in dump_file() is not pre-initalized.
Lets make sure that it is pre-initalized to avoid accessing uninitalized
memory in error/corner cases.

Change-Id: I6b0209b966127a4195e6f4bcb43d49387c7646ce
Fixes: CID#208435
---
M utils/osmo-sim-test.c
1 file changed, 8 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/17269/2
-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/17269
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6b0209b966127a4195e6f4bcb43d49387c7646ce
Gerrit-Change-Number: 17269
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200303/b1f48fde/attachment.htm>


More information about the gerrit-log mailing list