| commit | c094d1e4812e6560f2e9c9790a5866ee3a4654ec | [log] [download] |
|---|---|---|
| author | Damien Miller <djm@mindrot.org> | Sat Jun 26 09:36:34 2010 +1000 |
| committer | Damien Miller <djm@mindrot.org> | Sat Jun 26 09:36:34 2010 +1000 |
| tree | a307f2ab1490da54d0510b510ecc1601dca69c88 | |
| parent | 4fe686d35fc1bbf5f160d1619ab392e09f3bd5c5 [diff] |
- djm@cvs.openbsd.org 2010/06/17 07:07:30
[mux.c]
Correct sizing of object to be allocated by calloc(), replacing
sizeof(state) with sizeof(*state). This worked by accident since
the struct contained a single int at present, but could have broken
in the future. patch from hyc AT symas.com