Mike Kaganski
b038106e8d
tdf#166972: do not reset parameters in SbUnoObject::Notify
...
Resetting parameters in this function was introduced in commit
0b21b8b146 (initial commit for vba blob
( not including container_control stuff ), 2010-10-06). Unfortunately,
the reason for that is not explained.
The problem that it creates is that this code gets called eventually
from SbiRuntime::FindElement (which sets parameters using SetupArgs,
then calls SbiRuntime::CheckArray in the end, which calls GetObject,
which performs actual data access).
In SbiRuntime::CheckArray, the immediate problem was, that parameters
were referenced using a raw pointer; when the parageters were cleared
in GetObject, the pointer got dangling.
But it wasn't enough to use e.g. SbxArrayRef there, to keep the array
alive; the object will be accessed later, and needs its parameters to
work. On the other hand, it feels wrong to reinstate parameters after
the call to GetObject in SbiRuntime::CheckArray (getting the object
can run just any code path). So I chose to try and drop the resetting
of parameters in SbUnoObject::Notify. Let's see, if something breaks.
Change-Id: Icadfcfb8b7e5e87b2de46166963fd97532f8713c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186432
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com >
Tested-by: Jenkins
2025-06-12 21:55:17 +02:00
..
2024-09-01 04:06:40 +02:00
2024-09-01 04:06:40 +02:00
2021-07-14 18:15:28 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-12-28 19:54:58 +01:00
2022-12-20 08:41:11 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2024-09-01 04:06:40 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2025-05-08 15:15:36 +02:00
2022-02-09 11:09:01 +01:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-01-08 11:48:32 +01:00
2022-01-07 12:17:50 +01:00
2021-07-07 10:01:10 +02:00
2022-03-31 17:26:55 +02:00
2021-07-07 10:01:10 +02:00
2023-01-09 19:08:03 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-03-02 21:42:09 +01:00
2024-09-09 17:46:41 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2025-01-23 20:14:46 +01:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-02-11 12:56:03 +01:00
2021-07-07 10:01:10 +02:00
2021-07-02 20:48:34 +02:00
2021-07-07 10:01:10 +02:00
2021-07-02 20:48:34 +02:00
2021-07-02 20:48:34 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-02 20:48:34 +02:00
2025-05-08 17:42:21 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2024-08-01 10:04:02 +02:00
2021-07-07 10:01:10 +02:00
2021-07-16 09:29:16 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2021-07-07 10:01:10 +02:00
2025-01-08 06:02:48 +01:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-03-16 21:14:20 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-07-02 20:48:34 +02:00
2021-07-02 20:48:34 +02:00
2021-07-02 20:48:34 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-05-07 16:00:50 +02:00
2022-05-07 16:00:50 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2021-07-07 10:01:10 +02:00
2024-09-17 05:54:15 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2024-10-31 20:46:09 +01:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2022-12-20 08:41:11 +00:00
2022-12-20 08:41:11 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-12-20 08:41:11 +00:00
2021-07-15 10:02:00 +02:00
2021-10-20 20:27:59 +02:00
2022-03-31 14:06:56 +02:00
2022-12-20 08:41:11 +00:00
2022-02-21 23:10:46 +01:00
2022-09-25 11:39:33 +02:00
2022-06-20 12:46:27 +02:00
2023-08-07 17:38:30 +02:00
2024-06-10 13:52:00 +02:00
2025-02-25 07:35:20 +01:00
2025-05-08 15:15:36 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2022-12-20 12:56:52 +00:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2023-02-26 16:14:47 +00:00
2021-12-09 12:06:49 +01:00
2021-07-07 10:01:10 +02:00
2022-06-28 15:15:48 +02:00
2021-07-07 10:01:10 +02:00
2025-01-23 20:14:51 +01:00
2023-02-26 16:14:47 +00:00
2025-06-12 21:55:17 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00
2024-10-07 09:38:38 +02:00
2021-07-07 10:01:10 +02:00
2021-07-07 10:01:10 +02:00