Variables can be uninitialized causing undefined behavior.

Description

Variables can be uninitialized causing undefined behavior. I've seen this crash bro via a NOTICE call, and I think it is why the broker logging event issue() crashes inside the software framework.

See this example, which is a common mistake:

you'd expect this to trigger a reporter error of some sort, but instead it prints a random variable:

This program DOES work correctly:

Environment

None

Assignee

Johanna Amann

Reporter

Justin Azoff

Labels

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure