diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:53:53 +0000 |
commit | 74212ba5a1b89a81696ec68d9ce664023facb0be (patch) | |
tree | 0c747bbe3b9ccb30a4e4c5e277825d9a8ba914e4 /target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch | |
parent | 9b9163fb8259ff20b007b80cf112ba1bbcc04e6c (diff) | |
download | master-187ad058-74212ba5a1b89a81696ec68d9ce664023facb0be.tar.gz master-187ad058-74212ba5a1b89a81696ec68d9ce664023facb0be.tar.bz2 master-187ad058-74212ba5a1b89a81696ec68d9ce664023facb0be.zip |
goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch b/target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch deleted file mode 100644 index 3956090cbf..0000000000 --- a/target/linux/goldfish/patches-2.6.30/0110-printk-Fix-log_buf_copy-termination.patch +++ /dev/null @@ -1,24 +0,0 @@ -From e500cd364086cfc018b100d08c97b2fdf229d029 Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= <arve@android.com> -Date: Mon, 14 Apr 2008 21:35:25 -0700 -Subject: [PATCH 110/134] printk: Fix log_buf_copy termination. - -If idx was non-zero and the log had wrapped, len did not get truncated -to stop at the last byte written to the log. ---- - kernel/printk.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - ---- a/kernel/printk.c -+++ b/kernel/printk.c -@@ -279,8 +279,8 @@ int log_buf_copy(char *dest, int idx, in - if (idx < 0 || idx >= max) { - ret = -1; - } else { -- if (len > max) -- len = max; -+ if (len > max - idx) -+ len = max - idx; - ret = len; - idx += (log_end - max); - while (len-- > 0) |