Skip to content

Results of sscanf is undefined #60

Open
@wluker

Description

@wluker

At

ret = sscanf(readbuf, "BBPLL:%*d DAC:%d T2:%*d T1:%*d TF:%*d TXSAMP:%d", &dacrate, &txrate);
it looks like sscanf has more format specifications than pointers.

The sscanf man page reads "If the number of conversion specifications in format exceeds the number of pointer arguments, the results are undefined."

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