JDK-7197481 : Java 7u7 webstart crashes if jnlp href contains query parameter (?parm=value)
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2012-09-10
  • Updated: 2014-11-19
  • Resolved: 2012-09-12
Related Reports
Duplicate :  
Description
SHORT SUMMARY:
 
This failure was in the code introduced by bug 2224024 
 
INDICATORS:
 
javaws was crashing on windows.
 
COUNTER INDICATORS:
 
It worked with Linux and Mac
 
TRIGGERS:
 
Use query in jnlp files href attribute
 
KNOWN WORKAROUND:
 
None
 
PRESENT SINCE:
 
7u6 (b08)
 
HOW TO VERIFY:
 
Run the test associated with the bug in bugdb
 
NOTES FOR SE:
 
None
 
REGRESSION:
 
Yes

Comments
The following test is affected: BatJavawsTest::testNormal_Application_QueryInHref
17-10-2012

EVALUATION This bug is introduced due to changes made while enabaling unicode in javaws. See bug 7161138. _tcsncpy_s is used instead of strncpy_s which takes size of the destination buffer as an argument which is being passed wrong and it generates an exepteion which causes javaws to crash.
11-09-2012