projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ubsan: z8k: index 10 out of bounds for type 'unsigned int const[10]'
[deliverable/binutils-gdb.git]
/
sim
/
m68hc11
/
dv-m68hc11eepr.c
diff --git
a/sim/m68hc11/dv-m68hc11eepr.c
b/sim/m68hc11/dv-m68hc11eepr.c
index 4c35398daea497bf5cebb704733b2ec1c1f5a643..a0d2b6110a3f8e24187508d4361ae4207c379b1d 100644
(file)
--- a/
sim/m68hc11/dv-m68hc11eepr.c
+++ b/
sim/m68hc11/dv-m68hc11eepr.c
@@
-1,5
+1,5
@@
/* dv-m68hc11eepr.c -- Simulation of the 68HC11 Internal EEPROM.
/* dv-m68hc11eepr.c -- Simulation of the 68HC11 Internal EEPROM.
- Copyright (C) 1999-20
02, 2007-2012
Free Software Foundation, Inc.
+ Copyright (C) 1999-20
20
Free Software Foundation, Inc.
Written by Stephane Carrez (stcarrez@nerim.fr)
(From a driver model Contributed by Cygnus Solutions.)
Written by Stephane Carrez (stcarrez@nerim.fr)
(From a driver model Contributed by Cygnus Solutions.)
@@
-217,7
+217,7
@@
attach_m68hc11eepr_regs (struct hw *me,
controller->attach_space = attach_space;
controller->base_address = attach_address;
controller->attach_space = attach_space;
controller->base_address = attach_address;
- controller->eeprom =
(char*)
hw_malloc (me, attach_size + 1);
+ controller->eeprom = hw_malloc (me, attach_size + 1);
controller->eeprom_min_cycles = 10000;
controller->size = attach_size + 1;
controller->mapped = 0;
controller->eeprom_min_cycles = 10000;
controller->size = attach_size + 1;
controller->mapped = 0;
This page took
0.025847 seconds
and
4
git commands to generate.