- 11 Jul, 2018 1 commit
-
-
topjohnwu authored
-
- 09 Jul, 2018 1 commit
-
-
topjohnwu authored
-
- 07 Jul, 2018 3 commits
- 06 Jul, 2018 3 commits
- 05 Jul, 2018 4 commits
- 04 Jul, 2018 2 commits
- 03 Jul, 2018 3 commits
- 02 Jul, 2018 4 commits
- 01 Jul, 2018 2 commits
- 27 Jun, 2018 1 commit
-
-
topjohnwu authored
Sorry I forgot to commit this change :p
-
- 26 Jun, 2018 4 commits
- 25 Jun, 2018 2 commits
- 21 Jun, 2018 5 commits
-
-
topjohnwu authored
1. Introduce new applet: imgtool for better separation from the main program 2. Actually mount the image and check statvfs for free space in the image This shall eliminate any possible module installation failure from image resizing issues.
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
topjohnwu authored
-
- 20 Jun, 2018 2 commits
- 19 Jun, 2018 3 commits
-
-
Sheryl Hohman authored
-
osm0sis authored
-
npes87184 authored
The &cmd will return a pointer which point to a pointer of cmdline. It is a memory address which is usually 8 bytes in 64 bits machine. However, the struct cmdline is 4 bytes. This will cause setting zero beyond the bound. Below is a simple example to show the differentiation: struct cmdline { char skip_initramfs; char slot[3]; }; static void parse_cmdline(struct cmdline *cmd) { printf("%lu\n", sizeof(*cmd)); /* 4 */ printf("%lu\n", sizeof(&cmd)); /* 8 */ } int main() { struct cmdline cmd; parse_cmdline(&cmd); return 0; } This patch prevents this. Signed-off-by:
npes87184 <npes87184@gmail.com>
-