• Erwin Janssen's avatar
    Fixed use of unitialized variable in lefty · 1ef7b1f7
    Erwin Janssen authored
    In the file cmd/lefty/ws/x11/gquery.c, function Gqwpopaction:
    THe char c is declared without initializer, giving it a unpredictable
    value. If the next if statement takes the false branch, the function where
    c is set is not executed. The next if statement then checks `c != 13`, but
    because C could have any value, the behavior is unpredictable.
    Initializing c with a known value, such as 0, fixes the problem.
    1ef7b1f7
Name
Last commit
Last update
..
dot Loading commit data...
dotty Loading commit data...
edgepaint Loading commit data...
gvedit Loading commit data...
gvmap Loading commit data...
gvpr Loading commit data...
lefty Loading commit data...
lneato Loading commit data...
mingle Loading commit data...
smyrna Loading commit data...
tools Loading commit data...
Makefile.am Loading commit data...