Skip to content

left shifting a negative number is undefined #22

@dtkerns

Description

@dtkerns

In lib/signal.c: getskewedframe() there are many instanstances of the construct:

if (v == -1 << X)

where X is some constant number of bits to shift. Unfortunately, left shifting a negative number is undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions