]> git.proxmox.com Git - mirror_edk2.git/commit - Tools/Java/Source/ContextTool/org/tianocore/context/HelpInfo.java
There is a potential flaw in HelpInfo.java previously. It use String[substrnum] to...
authorjjin9 <jjin9@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Sep 2006 02:37:43 +0000 (02:37 +0000)
committerjjin9 <jjin9@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Sep 2006 02:37:43 +0000 (02:37 +0000)
commit67ce7c51e719e82ef5be38aca6bb65588b73c016
treecd6bc7c53766c893d54c0d5922fa8832d2c92a3d
parent68a05456c3b70053704f3046a6f20e4d8ca7274a
There is a potential flaw in HelpInfo.java previously. It use String[substrnum] to save the result of splitString(), the substrnum is calculated approximatively and has to be set larger enough to provide sufficient space. So substrnum relate to the string specifically.
In this version, it use ListedList to implement the splitString(), which is independent of string specifically.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1488 6f19259b-4bc3-4df7-8a09-765794883524
Tools/Source/ContextTool/org/tianocore/context/HelpInfo.java