All of 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

* [Buildroot] [Bug 10216] package/x11r7/mcookie/mcookie.c:207: bad size ?
  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 ` bugzilla at busybox.net
  2017-09-26 10:36 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-09-25 19:03 UTC (permalink / raw)
  To: buildroot

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

Bernd Kuhls <bernd.kuhls@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |bernd.kuhls at t-online.de
                   |.org                        |
             Status|NEW                         |ASSIGNED

--- Comment #1 from Bernd Kuhls <bernd.kuhls@t-online.de> ---
Thanks to your bug report I noticed that mcookie is part of util-linux:
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/misc-utils

Therefore I plan to submit a patch to buildroot that removes the mcookie
package in favour of util-linux which actively maintains mcookie:
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/log/misc-utils/mcookie.c

If your bug report is still valid with upstream then please send your bug
report to https://github.com/karelzak/util-linux

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

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

* [Buildroot] [Bug 10216] package/x11r7/mcookie/mcookie.c:207: bad size ?
  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
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-09-26 10:36 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org> ---
FYI, this specific issue was fixed upstream (util-linux) back in 2009:

https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/lib/md5.c?id=6596057175c6ed342dc20e85eae8a42eb29b629f

I'll fix up our embedded mcookie.c copy as well for 2017.02.7 and 2017.08.1.
Moving forward, it indeed makes more sense to use the util-linux version.

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

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

* [Buildroot] [Bug 10216] package/x11r7/mcookie/mcookie.c:207: bad size ?
  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
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2018-01-10 21:30 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
(In reply to Bernd Kuhls from comment #1)
Bernd, did you ever got around to submitting the patch removing the mcookie
package, and switching to the one from util-linux instead?

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

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

* [Buildroot] [Bug 10216] package/x11r7/mcookie/mcookie.c:207: bad size ?
  2017-08-09 20:26 [Buildroot] [Bug 10216] New: package/x11r7/mcookie/mcookie.c:207: bad size ? bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2018-01-10 21:30 ` bugzilla at busybox.net
@ 2018-01-12 18:59 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2018-01-12 18:59 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=40f4191f2a1246b792ffc0c02b6c9bd2d62649f2,
thanks

-- 
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.