about summary refs log tree commit diff stats
path: root/504test-screen.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-28 22:03:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-28 22:03:58 -0700
commitdcb6a21a911d61c51d1f54c357b5c6fcb01dd7cc (patch)
tree91be83a868bd8e04f3eba2b4ec7889b1b72f5cb4 /504test-screen.mu
parent7fa356abef56cc72e730f7bc0648c3968a3464d6 (diff)
downloadmu-dcb6a21a911d61c51d1f54c357b5c6fcb01dd7cc.tar.gz
bugfix: initialize gap buffers before using them
I keep running into one hole in Mu's memory-safety since dropping the Linux
dependency: null pointers no longer error when dereferenced. Here the problem
manifests as aliasing: lots of gap buffers share the same exact data near
address 0, because it was never initialized.
Diffstat (limited to '504test-screen.mu')
0 files changed, 0 insertions, 0 deletions
118' href='#n118'>118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195