One year before spotted
19, Nov, 2019The bug was something like this:
int total_size;
if (something) {
int total_size = message_size + some_other_size;
} else {
total_size = message_size;
}
if (total_size > max_buf) {
...
}
This is another case (after http://www.butterwec … y:entry180913-210507) against free placement of variable locations…
- Posted by michal in
- Add a comment