Marcus Meissner : rpcrt4: Exit on unknown confirmance type (Coverity).

Alexandre Julliard julliard at winehq.org
Tue Dec 15 09:40:19 CST 2009


Module: wine
Branch: master
Commit: 122ca034db085b4d76525e4b08c1d705c8109234
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=122ca034db085b4d76525e4b08c1d705c8109234

Author: Marcus Meissner <meissner at suse.de>
Date:   Tue Dec 15 11:44:37 2009 +0100

rpcrt4: Exit on unknown confirmance type (Coverity).

---

 dlls/rpcrt4/ndr_marshall.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 4c9f625..3b10af4 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -551,7 +551,8 @@ PFORMAT_STRING ComputeConformanceOrVariance(
     }
     break;
   default:
-    FIXME("unknown conformance type %x\n", pFormat[0] & 0xf0);
+    FIXME("unknown conformance type %x, expect crash.\n", pFormat[0] & 0xf0);
+    goto finish_conf;
   }
 
   switch (pFormat[1]) {




More information about the wine-cvs mailing list