diff options
author | joerg <joerg@FreeBSD.org> | 2006-02-07 00:50:58 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2006-02-07 00:50:58 +0800 |
commit | e8e12ea728ef2f32c7dd7a5c47ac83493266a761 (patch) | |
tree | 8adc5bacfb4b0942764b7192e4057deb1e93de37 /devel/simulavr | |
parent | 37226e414d88c5c59847058ebc17e92c367c8cf2 (diff) | |
download | freebsd-ports-gnome-e8e12ea728ef2f32c7dd7a5c47ac83493266a761.tar.gz freebsd-ports-gnome-e8e12ea728ef2f32c7dd7a5c47ac83493266a761.tar.zst freebsd-ports-gnome-e8e12ea728ef2f32c7dd7a5c47ac83493266a761.zip |
Fix access to uninitialized memory when examining the device's EEPROM.
Diffstat (limited to 'devel/simulavr')
-rw-r--r-- | devel/simulavr/Makefile | 2 | ||||
-rw-r--r-- | devel/simulavr/files/patch-src-avrcore.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile index bdd5b3ee733d..4c955b882fc2 100644 --- a/devel/simulavr/Makefile +++ b/devel/simulavr/Makefile @@ -7,7 +7,7 @@ PORTNAME= simulavr PORTVERSION= 0.1.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/devel/simulavr/files/patch-src-avrcore.c b/devel/simulavr/files/patch-src-avrcore.c new file mode 100644 index 000000000000..65e7e7f01b1b --- /dev/null +++ b/devel/simulavr/files/patch-src-avrcore.c @@ -0,0 +1,10 @@ +--- src/avrcore.c.orig Thu Jan 13 21:27:59 2005 ++++ src/avrcore.c Mon Feb 6 17:47:11 2006 +@@ -394,6 +394,7 @@ + words here */ + + core->flash = flash_new (flash_sz); ++ core->eeprom = 0; + + core->breakpoints = NULL; + |