[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wm/common parse_asf_objects.cpp, 1.10.4.4, 1.10.4.4.14.1
From:       yuanzhang () helixcommunity ! org
Date:       2013-08-13 10:08:06
[Download RAW message or body]

Update of /cvsroot/datatype/wm/common
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29865

Modified Files:
      Tag: europa
	parse_asf_objects.cpp 
Log Message:

Bug: RPD-1424
 
Overview:
 
In some packets, payload size specified in payload head is bigger than actual payload.
 
asf file format treats it as error and terminates.
 
Actually we should ignore this and contiune parsing.


Index: parse_asf_objects.cpp
===================================================================
RCS file: /cvsroot/datatype/wm/common/parse_asf_objects.cpp,v
retrieving revision 1.10.4.4
retrieving revision 1.10.4.4.14.1
diff -u -d -r1.10.4.4 -r1.10.4.4.14.1
--- parse_asf_objects.cpp	23 May 2012 16:13:18 -0000	1.10.4.4
+++ parse_asf_objects.cpp	13 Aug 2013 10:07:59 -0000	1.10.4.4.14.1
@@ -3861,7 +3861,7 @@
                     // Make sure we have enough buffer
                     if (ulPayloadLen > *pulLen)
                     {
-                        retVal = HXR_FAIL;
+                        ulPayloadLen = *pulLen;
                     }
                 }
             }


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic