Bug 2567

Summary: memset arguments reversed
Product: xorg Reporter: David Krause <freedesktop>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: ajax
Version: 6.8.2   
Hardware: x86 (IA32)   
OS: OpenBSD   
Whiteboard:
i915 platform: i915 features:

Description David Krause 2005-02-17 23:14:28 UTC
void *     memset(void *b, int c, size_t len);


yoda:XF4 {102} grep memset xc/extras/drm/tests/dristat.c
        memset(cmd, sizeof(cmd), 0);

yoda:XF4 {103} grep memset xc/programs/Xserver/hw/xfree86/drivers/ati/atidac.c
        (void)memset(fChanged, SizeOf(fChanged), 0);
Comment 1 Adam Jackson 2005-02-18 08:43:20 UTC
good catch, fixed in cvs.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.