jbremer / honeyd

Automatically exported from code.google.com/p/honeyd
0 stars 0 forks source link

Honeyd infinite loop when interface goes up and down #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start Honeyd.
2. Restart the interface Honeyd is bound to.
3. Watch CPU usage climb to 100% and stay there.

What is the expected output? What do you see instead?
Expect Honeyd to not enter an infinite loop

What version of the product are you using? On what operating system?
Honeyd v1.5c

The fix for this issue is to read one byte first in order to clear any POLLERR 
bits and then continue reading data.

Original issue reported on code.google.com by pkwar...@gmail.com on 3 Sep 2010 at 9:52

Attachments: