diff for duplicates of <20180629184655.GA37391@beast> diff --git a/a/1.txt b/N1/1.txt index 15c40eb..3dd7ca2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -42,10 +42,12 @@ index 1bfd13cbd4e3..bc9eb8afc313 100644 + * Determine the size of the cursor image data. Normally, + * it's 8x16. + */ - unsigned int image_size - DIV_ROUND_UP(cursor->image.width, 8) * cursor->image.height; + unsigned int image_size = +- DIV_ROUND_UP(cursor->image.width, 8) * cursor->image.height; + DIV_ROUND_UP(cursor->image.width, 8) * + cursor->image.height; - unsigned int image_words DIV_ROUND_UP(image_size, sizeof(uint32_t)); + unsigned int image_words = + DIV_ROUND_UP(image_size, sizeof(uint32_t)); unsigned int bg_idx = cursor->image.bg_color; unsigned int fg_idx = cursor->image.fg_color; - uint8_t buffer[image_size]; diff --git a/a/content_digest b/N1/content_digest index 8d65105..d5a56aa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Kees Cook <keescook@chromium.org>\0" "Subject\0[PATCH] video: fbdev: fsl-diu-fb: Remove VLA usage\0" - "Date\0Fri, 29 Jun 2018 18:46:55 +0000\0" + "Date\0Fri, 29 Jun 2018 11:46:55 -0700\0" "To\0Timur Tabi <timur@tabi.org>\0" "Cc\0Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>" linux-fbdev@vger.kernel.org @@ -52,10 +52,12 @@ "+\t\t * Determine the size of the cursor image data. Normally,\n" "+\t\t * it's 8x16.\n" "+\t\t */\n" - " \t\tunsigned int image_size -\t\t\tDIV_ROUND_UP(cursor->image.width, 8) * cursor->image.height;\n" + " \t\tunsigned int image_size =\n" + "-\t\t\tDIV_ROUND_UP(cursor->image.width, 8) * cursor->image.height;\n" "+\t\t\tDIV_ROUND_UP(cursor->image.width, 8) *\n" "+\t\t\tcursor->image.height;\n" - " \t\tunsigned int image_words \t\t\tDIV_ROUND_UP(image_size, sizeof(uint32_t));\n" + " \t\tunsigned int image_words =\n" + " \t\t\tDIV_ROUND_UP(image_size, sizeof(uint32_t));\n" " \t\tunsigned int bg_idx = cursor->image.bg_color;\n" " \t\tunsigned int fg_idx = cursor->image.fg_color;\n" "-\t\tuint8_t buffer[image_size];\n" @@ -93,4 +95,4 @@ "Kees Cook\n" Pixel Security -e021644a105cae4bb3a3659d75be8dc9bbf168414cba90fc0a4b038b70443795 +98b26072794cb2b6a62c594deff88eab42c7b15c2e9360305d1da31ad87c8d73
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.