Commit 4d355e68 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix use of uninitialised pointer

Detail:
  s/Wimp01 - initwcfda tries to look up the dynamic area name using MsgTrans, so make sure the 'messages' pointer is initialised before we call it
Admin:
  Tested on iMx6


Version 5.56. Tagged as 'Wimp-5_56'
parent 2df84a17
...@@ -11,13 +11,13 @@ ...@@ -11,13 +11,13 @@
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "5.55" Module_MajorVersion SETS "5.56"
Module_Version SETA 555 Module_Version SETA 556
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "16 Sep 2016" Module_Date SETS "25 Mar 2017"
Module_ApplicationDate SETS "16-Sep-16" Module_ApplicationDate SETS "25-Mar-17"
Module_ComponentName SETS "Wimp" Module_ComponentName SETS "Wimp"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Wimp" Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Wimp"
Module_FullVersion SETS "5.55" Module_FullVersion SETS "5.56"
Module_HelpVersion SETS "5.55 (16 Sep 2016)" Module_HelpVersion SETS "5.56 (25 Mar 2017)"
END END
/* (5.55) /* (5.56)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 5.55 #define Module_MajorVersion_CMHG 5.56
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 16 Sep 2016 #define Module_Date_CMHG 25 Mar 2017
#define Module_MajorVersion "5.55" #define Module_MajorVersion "5.56"
#define Module_Version 555 #define Module_Version 556
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "16 Sep 2016" #define Module_Date "25 Mar 2017"
#define Module_ApplicationDate "16-Sep-16" #define Module_ApplicationDate "25-Mar-17"
#define Module_ComponentName "Wimp" #define Module_ComponentName "Wimp"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Wimp" #define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Wimp"
#define Module_FullVersion "5.55" #define Module_FullVersion "5.56"
#define Module_HelpVersion "5.55 (16 Sep 2016)" #define Module_HelpVersion "5.56 (25 Mar 2017)"
#define Module_LibraryVersionInfo "5:55" #define Module_LibraryVersionInfo "5:56"
...@@ -3413,11 +3413,11 @@ gotwork ...@@ -3413,11 +3413,11 @@ gotwork
LDREQ R2,=Legacy_DomainId LDREQ R2,=Legacy_DomainId
STR R2,ptr_DomainId STR R2,ptr_DomainId
MOV R1, #0
STR R1, messages ; no messsages open, in case of error lookups
[ DynamicAreaWCF [ DynamicAreaWCF
BL initwcfda BL initwcfda
] ]
MOV R1, #0
STR R1, messages ; no messsages open, in case of error lookups
; ;
BL initptrs ; also claims ChangeEnvironmentV BL initptrs ; also claims ChangeEnvironmentV
; ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment