Skip to content

len is garbage value in ccnl_ccnb_bytes2pkt in ccnl-pkt-ccnb  #338

@mfrey

Description

@mfrey

Description

The value of lenin file ccnl-pkt-ccnb.c in line 217 is a garbage value since the variable is never initialized and hence the performed check will fail.

Steps to reproduce the issue

This is a finding of clangs static code analyzer (can be retrieved via running our ./scan-build.sh script)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions