bug in libXaw 1.0.7

Walter Harms wharms at bfs.de
Sun Aug 29 11:59:57 PDT 2010


When testing smatch i found a minor bug in libXaw.

re,
  wh


--- libXaw-1.0.7/src.org/TextSrc.c      2010-08-16 18:42:12.000000000 +0200
+++ libXaw-1.0.7/src/TextSrc.c  2010-08-16 18:43:17.000000000 +0200
@@ -537,10 +537,11 @@
      Cardinal size;

      switch (*(XawTextEditType *)fromVal->addr) {
-       case XawtextAppend:
+
         case XawtextRead:
             buffer = XtEtextRead;
             break;
+       case XawtextAppend:
             buffer = XtEtextAppend;
             break;
         case XawtextEdit:





More information about the xorg mailing list