Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10216] New: package/x11r7/mcookie/mcookie.c:207: bad size ?
@ 2017-08-09 20:26 bugzilla at busybox.net
  2017-09-25 19:03 ` [Buildroot] [Bug 10216] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-08-09 20:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10216

            Bug ID: 10216
           Summary: package/x11r7/mcookie/mcookie.c:207: bad size ?
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: dcb314 at hotmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

buildroot-2017.08-rc1/package/x11r7/mcookie/mcookie.c:207]: (warning) Size of
pointer 'ctx' used instead of size of its data.

Source code is

    memset(ctx, 0, sizeof(ctx));    /* In case it's sensitive */

Maybe better code

    memset(ctx, 0, sizeof(*ctx));    /* In case it's sensitive */

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-12 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 20:26 [Buildroot] [Bug 10216] New: package/x11r7/mcookie/mcookie.c:207: bad size ? bugzilla at busybox.net
2017-09-25 19:03 ` [Buildroot] [Bug 10216] " bugzilla at busybox.net
2017-09-26 10:36 ` bugzilla at busybox.net
2018-01-10 21:30 ` bugzilla at busybox.net
2018-01-12 18:59 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox