Go to file
Peter Korsgaard 49daa38f61 mcookie: correct wrong memset argument
Fixes #10216

Building mcookie generates a warning about possible wrong arguments to
memset:

mcookie.c:207:26: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression
  as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */

ctx is a pointer to a structure, so the code should use the size of the
structure and not the size of the pointer when it tries to clear the
structure, similar to how it got fixed upstream back in 2009:

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 40f4191f2a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-30 23:36:59 +01:00
arch arch/arm: fix -mcpu default values for AArch64 2017-07-20 07:37:58 +02:00
board wandboard: genimage: Pass an offset for the rootfs 2017-09-29 09:44:41 +02:00
boot grub2: force -fno-stack-protector in CFLAGS 2017-09-06 13:28:57 +02:00
configs configs/mx25pdk: Bump U-Boot and kernel versions 2017-02-09 22:22:21 +01:00
docs docs/manual: fix BR2_EXTERNAL path typo 2017-10-15 22:47:35 +02:00
fs fs/iso9660: really create initrd temp dir 2017-09-06 11:08:26 +02:00
linux linux: fix name of config variable 2017-06-08 16:50:39 +02:00
package mcookie: correct wrong memset argument 2018-01-30 23:36:59 +01:00
support support/scripts/size-stats: avoid divide-by-zero 2017-12-20 21:52:17 +01:00
system system: do not overwrite /bin/sh Busybox symlink 2017-03-31 09:12:23 +02:00
toolchain Fix makefile include order by using sort/wildcard. 2017-11-30 08:24:03 +01:00
.defconfig
.gitignore
CHANGES Update for 2017.02.9 2018-01-01 12:20:54 +01:00
Config.in Config.in: fix help comment for gcc optimization 2017-10-24 08:20:55 +02:00
Config.in.legacy gst1-plugins-bad: fix webrtc option 2017-07-04 17:47:05 +02:00
COPYING
DEVELOPERS matchbox-lib: fix dependencies 2018-01-29 22:23:54 +01:00
Makefile Update for 2017.02.9 2018-01-01 12:20:54 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches