kamalem2000 / avr-uip

Automatically exported from code.google.com/p/avr-uip
0 stars 0 forks source link

a bug in uip_send_P that may cause incorrect data to be sent #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Problem may occur randomly depending on firmware code with low probability. No 
steps to reproduce. 

What is the expected output? What do you see instead?
When using uip_send_P if data has the same address in PROGMEM as uip_sappdata 
in SRAM, data from SRAM will be sent instead of data from PROGMEM.

What version of the product are you using? On what operating system?
SVN trunk rev.243

Please provide any additional information below.
Patch to resolve this issue attached.

Original issue reported on code.google.com by iam...@gmail.com on 6 Nov 2012 at 5:21

Attachments:

GoogleCodeExporter commented 8 years ago
Good catch ;-)

Thank you very much!

Original comment by qarc...@gmail.com on 10 Nov 2012 at 2:53

GoogleCodeExporter commented 8 years ago
Fix checked into the tree as
Revision: r244

Original comment by qarc...@gmail.com on 10 Nov 2012 at 2:56