[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] Strange "always true" conditional in tcp_in.c
From: |
Bill Auerbach |
Subject: |
RE: [lwip-users] Strange "always true" conditional in tcp_in.c |
Date: |
Mon, 1 Mar 2010 11:44:08 -0500 |
>I wonder if there are other similar cases lurking in the code that we
>also need to fix. Perhaps the original poster (John Carter) whose
>compiler was warning about this could make a list and file a bug report?
I think mixing chars with ints or longs should be reviewed although
truncation warnings help a lot in this respect and it's likely not an issue,
except in specific cases like this overflow check.
>It's true that there are lots of languages that would not have this sort
>of subtle bug. I wonder if we should re-write lwIP in OCaml? ;)
:-)
Bill
- Re: [lwip-users] Strange "always true" conditional in tcp_in.c, Lou Cypher, 2010/03/01
- Re: [lwip-users] Strange "always true" conditional in tcp_in.c, Simon Goldschmidt, 2010/03/01
- Re: [lwip-users] Strange "always true" conditional in tcp_in.c, Kieran Mansley, 2010/03/01
- Re: [lwip-users] Strange "always true" conditional in tcp_in.c, Mike Kleshov, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Bill Auerbach, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Bill Auerbach, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Bill Auerbach, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Bill Auerbach, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Kieran Mansley, 2010/03/01
- RE: [lwip-users] Strange "always true" conditional in tcp_in.c,
Bill Auerbach <=
RE: [lwip-users] Strange "always true" conditional in tcp_in.c, Bill Yang, 2010/03/01
Re: [lwip-users] Strange "always true" conditional in tcp_in.c, Lou Cypher, 2010/03/02