diff options
| author | Peter Astrand <astrand@lysator.liu.se> | 2007-02-02 19:06:36 (GMT) |
|---|---|---|
| committer | Peter Astrand <astrand@lysator.liu.se> | 2007-02-02 19:06:36 (GMT) |
| commit | f54000325b49c36c6bfb4632137a9a20c8fa2e3c (patch) | |
| tree | fd83f39624e9771126e2b01c3563a4861b15b1f1 /Python/getversion.c | |
| parent | db67aef672ba51e7d01b1f095d5342fc2e67ca1a (diff) | |
| download | cpython-f54000325b49c36c6bfb4632137a9a20c8fa2e3c.zip cpython-f54000325b49c36c6bfb4632137a9a20c8fa2e3c.tar.gz cpython-f54000325b49c36c6bfb4632137a9a20c8fa2e3c.tar.bz2 | |
We had several if statements checking the value of a fd. This is unsafe, since valid fds might be zero. We should check for not None instead.
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions
