naren0nindiatimes / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

[patch] PPP frame buffer leakage #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The attach patch fixes a bug where a buffer pointer was passed to a function 
expecting a key, rather than a pointer. Unfortunately both the key and the 
buffer pointer were of the same type, so no compiler warnings were issued.

As an effect of this, contention for the PPP send buffers could result in parts 
of the buffer space leaking, and never again becoming available for reuse - in 
turn aggravating the contention, causing further leaks, until the whole send 
buffer space would be lost, and PPP sending would cease (or seize :) completely.

Original issue reported on code.google.com by jmatts...@dius.com.au on 10 Oct 2011 at 12:57

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by philip.l...@gmail.com on 14 Oct 2011 at 9:18

GoogleCodeExporter commented 8 years ago
Fixed in r5774.  Thanks; obvious once pointed out, but must have been nasty to 
find.

Original comment by pabi...@gmail.com on 14 Oct 2011 at 9:52