Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

MAM - Use of uninitialised value of size 8 (mam_api_load) #1467

Description

@kuhlmannmarkus

Describe the bug
A Use of uninitialised value of size 8 appears in 2 different constellations in mam_api_load.
Valgrind Info 1:
==10878== at 0x294F8B: mam_channel_t_set_contains (mam_channel_t_set.c:62)
==10878== by 0x293994: mam_channel_t_set_add (mam_channel_t_set.c:15)
==10878== by 0x2938F3: mam_channels_deserialize (channel.c:206)
==10878== by 0x281E15: mam_api_deserialize (api.c:795)
==10878== by 0x282281: mam_api_load (api.c:892)

Valgrind Info 2:
==10878== at 0x294031: mam_channel_t_set_add (mam_channel_t_set.c:20)
==10878== by 0x2938F3: mam_channels_deserialize (channel.c:206)
==10878== by 0x281E15: mam_api_deserialize (api.c:795)
==10878== by 0x282281: mam_api_load (api.c:892)

To Reproduce
Steps to reproduce the behavior:
Use mam_api_load.

Expected behavior
Use of uninitialised value should not happen.

Desktop (please complete the following information):

  • OS: Ubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions