Go to file
Jonas Gorski 9fbd6d0ba0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45938
2015-06-10 09:21:36 +00:00
config build: enable package list signing by default 2015-05-05 21:16:13 +00:00
docs docs: Fix typo buysbox -> busybox. 2015-04-09 10:32:26 +00:00
include include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well 2015-06-01 18:00:35 +00:00
package map: add sleep work-around for lw4o6 race-condition 2015-06-09 21:18:55 +00:00
scripts scripts: add srecimage.pl, a script to convert binaries to SREC format 2015-05-28 15:53:55 +00:00
target b53: fix memory out of bounds access on 64 bit targets 2015-06-10 09:21:36 +00:00
toolchain musl: update to version 1.1.9 2015-06-04 20:08:39 +00:00
tools bc: add download mirrors 2015-06-06 13:48:57 +00:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in scripts/config: sync with linux upstream 2015-01-08 14:33:53 +00:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean 2015-05-23 15:28:42 +00:00
README Add 'subversion' build dependency to README 2014-08-31 12:06:32 +00:00
feeds.conf.default feeds.conf.default: add new targets feed 2015-03-19 11:58:35 +00:00
rules.mk build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00

README

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your OpenWrt Project
	http://openwrt.org