The patch titled lib/vsprintf.c: fix invalid arg check has been removed from the -mm tree. Its filename was lib-vsprintf-fix-invalid-arg-check.patch This patch was dropped because it was nacked The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: lib/vsprintf.c: fix invalid arg check From: Vasiliy Kulikov <segooon@xxxxxxxxx> "size" is size_t. If we want to check whether it was underflowed then we should cast it to ssize_t instead of int. When sizeof(size_t) > sizeof(int) the code sees UINT_MAX as underflow, but it is not. Signed-off-by: Vasiliy Kulikov <segooon@xxxxxxxxx> Cc: Andr Goddard Rosa <andre.goddard@xxxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> Cc: Bjorn Helgaas <bjorn.helgaas@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/vsprintf.c~lib-vsprintf-fix-invalid-arg-check lib/vsprintf.c --- a/lib/vsprintf.c~lib-vsprintf-fix-invalid-arg-check +++ a/lib/vsprintf.c @@ -1290,7 +1290,7 @@ int vsnprintf(char *buf, size_t size, co /* Reject out-of-range values early. Large positive sizes are used for unknown buffer sizes. */ - if (WARN_ON_ONCE((int) size < 0)) + if (WARN_ON_ONCE((ssize_t) size < 0)) return 0; str = buf; _ Patches currently in -mm which might be from segooon@xxxxxxxxx are origin.patch drivers-misc-apds9802alsc-fix-signedness-bug.patch linux-next.patch memstick-core-fix-device_register-error-handling.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html