K. \"pestophagous\" Heller
2778470b97
Prevent gaschange tank icons from using garbage coords.
...
Tank icons were shown at incorrect spots on the profile
when the DiveEventItem object held a pointer to a struct
event even after the struct event at that address had
been freed. When internalEvent is a pointer to freed
memory, internalEvent->time.seconds could have all kinds
of crazy values, which get used in member function
DiveEventItem::recalculatePos to place the tank at bad
x coordinates.
The DiveEventItem(s) no longer store a pointer to memory
that they do not own. This way, no matter how the path of
execution arrives into slot recalculatePos, we never need
fear that the DiveEventItem will dereference a garbage
pointer to a struct event.
Fixes #968
Signed-off-by: K. Heller <pestophagous@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-03 22:56:23 -08:00
..
2015-11-07 10:52:19 -08:00
2015-12-01 15:34:00 -08:00
2015-10-30 10:36:48 -07:00
2015-11-18 18:34:49 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-15 12:10:37 -08:00
2015-10-30 10:36:48 -07:00
2015-11-02 19:54:34 -08:00
2015-10-30 10:36:48 -07:00
2015-11-15 12:10:37 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-12-03 22:56:23 -08:00
2015-12-03 22:56:23 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-02 19:54:34 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-12-02 14:30:47 -08:00
2015-12-02 14:30:47 -08:00
2015-11-02 12:51:31 -08:00
2015-11-06 11:30:11 -08:00
2015-11-06 11:30:11 -08:00
2015-11-09 18:00:56 -08:00
2015-11-09 18:00:56 -08:00
2015-11-25 12:08:28 -08:00
2015-11-18 19:24:21 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2015-11-02 19:54:34 -08:00
2015-11-24 09:20:40 -08:00
2015-10-30 10:36:48 -07:00
2015-11-08 09:44:40 -08:00
2015-11-09 18:00:56 -08:00
2015-11-14 09:10:06 -08:00
2015-10-30 10:36:48 -07:00
2015-11-07 22:26:33 -08:00
2015-11-06 09:59:00 -08:00
2015-11-14 10:43:37 -08:00
2015-10-30 10:36:48 -07:00
2015-12-03 10:42:24 -08:00
2015-11-18 17:57:13 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-18 18:52:44 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-24 09:20:03 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-15 10:29:36 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-12-03 09:47:46 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-03 07:19:05 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-11-07 09:53:17 -08:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00
2015-10-30 10:36:48 -07:00