Issue

The Java API equals method for the string literals was incorrectly overridden in ColdFusion, which caused incorrect comparisons for struct keys, cfswitch cases, and variable names. As a result, different string literals were associated with the same value. For example, GNQ and HO2 are two string literals. If GNQ is assigned a value of “aString”, then HO2 also has a value of “aString”.

Solution

Use the ColdFusion 9 Administrator to install all the hot fixes. The installation process is the same for all platforms and installation choices.

Follow the instructions below to apply the fix.

  1. Download hf900-81860.zip and extract hf900-81860.jar.
  2. Open the ColdFusion 9 Administrator and select the System Information page.
  3. Click Browse next to the Update File box, and then browse to the extracted file hf900-81860.jar. Select the file, and then click Submit.
  4. Restart the ColdFusion instance.
  5. Repeat Steps 2 – 4 if there are multiple instances of ColdFusion.

You do not need to keep the ColdFusion hot fix JAR file after installing it with the ColdFusion Administrator. The file has been copied to the correct location.

The ColdFusion hot fix JAR file appears as a new entry in the System Information list.

ColdFusion hot fix jars are uninstalled by stopping the ColdFusion application server and deleting the respective jars from cf_root/lib/updates. 

 

Additional information

 

 

 

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy