[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531797:



tags 531797 pending
thanks

Hi there,

(belated reply, i know...)

good catch!  it looks like this was found and fixed upstream:

commit a13ca4ed66b18b72a611231cce163e9c499ee20c
Author: Erkin Bahceci <erkinbah@gmail.com>
Date:   Sun Sep 20 20:53:39 2009 -0500

    Fix crash when LANG has no value.

diff --git a/src/compiz.cpp b/src/compiz.cpp
index 0faa945..2755d47 100644
--- a/src/compiz.cpp
+++ b/src/compiz.cpp
@@ -85,7 +85,7 @@ getLocale ()
     if (!lang || !strlen (lang))
        lang = getenv ("LC_MESSAGES");
 
-    return lang;
+    return lang ? lang : (char *)"";
 }
 
 std::string curLocale = std::string (getLocale ());

so it'll be rolled into the next upload.



	sean

Attachment: signature.asc
Description: Digital signature


Reply to: