GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit b23344d5 authored by Robert Sprowson's avatar Robert Sprowson

Fix for too short a memset

Found by pattern matching, this is the same change as DWCDriver-0_27.

Version 0.27. Tagged as 'MUSBDriver-0_27'
parent fa6d61cf
/* (0.26)
/* (0.27)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.26
#define Module_MajorVersion_CMHG 0.27
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 26 Mar 2016
#define Module_Date_CMHG 02 May 2016
#define Module_MajorVersion "0.26"
#define Module_Version 26
#define Module_MajorVersion "0.27"
#define Module_Version 27
#define Module_MinorVersion ""
#define Module_Date "26 Mar 2016"
#define Module_Date "02 May 2016"
#define Module_ApplicationDate "26-Mar-16"
#define Module_ApplicationDate "02-May-16"
#define Module_ComponentName "MUSBDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/MUSBDriver"
#define Module_FullVersion "0.26"
#define Module_HelpVersion "0.26 (26 Mar 2016)"
#define Module_LibraryVersionInfo "0:26"
#define Module_FullVersion "0.27"
#define Module_HelpVersion "0.27 (02 May 2016)"
#define Module_LibraryVersionInfo "0:27"
......@@ -137,7 +137,7 @@ callout_init (struct callout* c)
#ifdef USB_DEBUG0
if (usbdebug > 15) dprintf (("Port", "callout init %p\n", c));
#endif
memset (c, 0, sizeof c);
memset (c, 0, sizeof (*c));
}
_kernel_oserror*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment