aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-05-25 06:14:37 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-05-25 06:14:37 +0000
commit4a13a5484ae19974a46d3def668aa888d12b8f13 (patch)
tree79f288666aea4a6f2298bb449bf355daaa5e6ce5 /LUFA
parent8f3d4e69c3ccc88f0572a90a367eeaa98e3675c2 (diff)
downloadlufa-4a13a5484ae19974a46d3def668aa888d12b8f13.tar.gz
lufa-4a13a5484ae19974a46d3def668aa888d12b8f13.tar.bz2
lufa-4a13a5484ae19974a46d3def668aa888d12b8f13.zip
Fixed RNDISEthernet demos crashing when calculating checksums for Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec).
Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Common/Common.h2
-rw-r--r--LUFA/ManPages/ChangeLog.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h
index 68419ce2d..86b84cc2a 100644
--- a/LUFA/Common/Common.h
+++ b/LUFA/Common/Common.h
@@ -167,7 +167,7 @@
static inline void SwapEndian_n(void* Data, uint8_t Bytes);
static inline void SwapEndian_n(void* Data, uint8_t Bytes)
{
- uint8_t* CurrDataPos = Data;
+ uint8_t* CurrDataPos = (uint8_t*)Data;
while (Bytes)
{
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 0e51f21ad..f47ae06e1 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -18,6 +18,8 @@
* the last page of FLASH (thanks to Gerard Sexton)
* - Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM
* instead of the split write-only command (thanks to Tim Margush)
+ * - Fixed RNDISEthernet demos crashing when calculating checksums for Ethernet/TCP packets of more than ~500 bytes due to
+ * an overflow in the checksum calculation loop (thanks to Kevin Malec)
*
* \section Sec_ChangeLog100513 Version 100513
* <b>New:</b>
@@ -92,7 +94,6 @@
* HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set
* - Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint
* request is being processed, causing possible lockups if a USB interrupt occurs during a transfer
- * - Fixed TeensyHID bootloader not working on some USB AVR models with the official TeensyLoader GUI application
* - Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects
*
* \section Sec_ChangeLog100219 Version 100219