mif file creation with string > 241 characters corrupts mif file
search cancel

mif file creation with string > 241 characters corrupts mif file

book

Article ID: 244521

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Asset Management

Issue/Introduction

Creation of a MIF file with DMS Script with a string with more then 240 characters could result in MIF file in wrong format.

Example :

In above example a value with a long filename contains some carriage return into the middle.

 

Start Component

 Name = "BayLfSt"
 Description = "BayLfSt"

 Start Group

  Name = "zlib"
  ID = 1
  KEY=1
  Class = "zlib"
  Description = "zlib"

  Start Attribute
   Name = "Filename"
   ID = 1
   Description = ""
   Type = String(64)
   Value = "C:\\Program Files\\McAfee\\Agent\\zlib.dll"
  End Attribute

  Start Attribute
   Name = "Version"
   ID = 2
   Description = ""
   Type = String(64)
   Value = "1.0.0.0"
  End Attribute

 End Group

 Start Group

  Name = "zlib"
  ID = 2
  KEY=1
  Class = "zlib"
  Description = "zlib"

  Start Attribute
   Name = "Filename"
   ID = 1
   Description = ""
   Type = String(64)
   Value = "C:\\Program Files\\McAfee\\Agent\\x86\\zlib.dll"
  End Attribute

  Start Attribute
   Name = "Version"
   ID = 2
   Description = ""
   Type = String(64)
   Value = "1.0.0.0"
  End Attribute

 End Group

 Start Group

  Name = "zlib"
  ID = 3
  KEY=1
  Class = "zlib"
  Description = "zlib"

  Start Attribute
   Name = "Filename"
   ID = 1
   Description = ""
   Type = String(512)
 Value = "D:\\$RECYCLE.BIN\\S-1-5-21-2440554596-1003339890-289817510-1197\\$RJRDNNX\\P_XXX-XX-XXXX_7eefcf0a6d39440a827a67d9e3d12667-1744\\par-7a61732d736b2d61636365737364617461\\cache-4093d9a2b7536cf1be2d24a5a91dcd606623dbe8\\inc\\lib\\auto\\Compress\\R










aw\\Zlib\\zlib.dll"
  End Attribute

  Start Attribute
   Name = "Version"
   ID = 2
   Description = ""
   Type = String(64)
   Value = ""
  End Attribute

 End Group

 Start Group

  Name = "zlib"
  ID = 4
  KEY=1
  Class = "zlib"
  Description = "zlib"

  Start Attribute
   Name = "Filename"
   ID = 1
   Description = ""
   Type = String(256)
 Value = "D:\\Temp\\EPRTEMP\\P_XXX-XX-XXXX_499a1c5327ee467d89752c09bc670188-17540\\par-7a61732d736b2d61636365737364617461\\cache-exiftool-11.97\\inc\\lib\\auto\\Compress\\Raw\\Zlib\\zlib.dll"
  End Attribute

  Start Attribute
   Name = "Version"
   ID = 2
   Description = ""
   Type = String(64)
   Value = ""
  End Attribute

End Group

 

Environment

CA Client Automation 14.5 (with or without CU patch)

Resolution

Open a case at CA Broadcom Technical Support requesting the fix T55V230

This fix could be installed on the Agents 14.5, 14.5 CU1, 14.5 CU2 and 14.5 CU3