From: SourceForge.net <no...@so...> - 2008-11-21 07:25:44
|
Bugs item #2315536, was opened at 2008-11-19 12:09 Message generated for change (Comment added) made by sutula You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2315536&group_id=71730 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HP c-Class Plugin Group: 2.14.0 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Bryan Sutula (sutula) Assigned to: Bryan Sutula (sutula) Summary: Enum parsing issues within SOAP support routine Initial Comment: There are a couple of issues with the routine, soap_enum(), which is in plugins/oa_soap/oa_soap_callsupport.c. The function of the routine is to locate an enum value within a string that lists all the possible enum values. 1) If the value is a substring of a later enum value, the wrong enum can be matched. For example, searching for "REDUNDANT" within "REDUNDANCY_NO_OP, REDUNDANCY_UNKNOWN, NOT_REDUNDANT, REDUNDANT" returns the enum value for "NOT_REDUNDANT". The code needs to make sure the match is the entire enum value. 2) If a value matches a substring of an earlier enum value, the code may detect that it is a substring, but will not continue to look for another match. In this case, a "no match" error will be returned. This defect (apparently) doesn't cause a problem for existing plug-in communication, but needs to be fixed in order to add some new functionality. ---------------------------------------------------------------------- >Comment By: Bryan Sutula (sutula) Date: 2008-11-21 00:25 Message: Fixed in svn version 6918 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2315536&group_id=71730 |