aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/930-crashlog.patch
Commit message (Collapse)AuthorAgeFilesLines
* kernel: remove linux 3.8 supportFelix Fietkau2015-03-191-276/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44890
* kernel: crashlog: Avoid out-of-bounds writeFelix Fietkau2013-08-211-1/+1
| | | | | | | | | | | | | | | | vsnprintf returns the number of chars that would have been written, not the actual number of chars written. This can lead to crashlog_buf->len being too big which in turn can lead to get_maxlen() returning negative numbers. The length argument of kmsg_dump_get_buffer will be casted to a size_t which makes a negative input a big positive number allowing kmsg_dump_get_buffer to write out of bounds. Fix this by using vscnprintf which returns the actually written number of chars. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 37820
* kernel: refresh 3.8 patchesFlorian Fainelli2013-01-241-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35317
* kernel: add support for 3.8-rc2Florian Fainelli2013-01-081-0/+276
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35055