bthnycl / tinyos-main

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

[patch] UdpP scribbles to memory it should not. #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While working on getting blip to work on a different board (modflex), I ran 
into application restarts when attempting to send UDP packets. Eventually I 
traced this down a memset scribbling past the end of the struct it was meant to 
clear. I presume other architectures have been a lot more forgiving about this 
for this to have gone undetected so far...

Cheers,
/Johny

Original issue reported on code.google.com by jmatts...@dius.com.au on 28 Jul 2011 at 1:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by philip.l...@gmail.com on 29 Jul 2011 at 12:23

GoogleCodeExporter commented 9 years ago
Thanks, I'll get your patch in over the weekend.  Hmm, on most platforms the 
memset must just overwrite those other stack variables which are also being 
cleared at the same time...

Original comment by sdh...@gmail.com on 29 Jul 2011 at 12:48

GoogleCodeExporter commented 9 years ago
Commited

Original comment by sdh...@gmail.com on 3 Aug 2011 at 9:23