Bug 2567 - memset arguments reversed
Summary: memset arguments reversed
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) OpenBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 23:14 UTC by David Krause
Modified: 2005-02-17 13:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.