Can call setenv ("LANGUAGE", NULL) which corrupts the environment
Bug #861123 reported by
Robert Ancell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Indicator Date and Time |
Fix Released
|
High
|
Ted Gould | ||
Ubuntu Translations |
Fix Released
|
High
|
Unassigned |
Bug Description
In utils.c, T_() if LANGUAGE is not defined in the environment then g_setenv ("LANGUAGE", NULL) is called. There is a bug in libc with setting environment values to NULL and sets the environment to "LANGUAGE=" without the null character. This is causing Unity Greeter to mess up translations as getenv returns a random value for LANGUAGE (overriding LANG).
Related branches
lp://staging/~robert-ancell/indicator-datetime/lp-861123
- Andrea Cimitan (community): Approve
- Indicator Applet Developers: Pending requested
-
Diff: 23 lines (+4/-2)1 file modifiedsrc/utils.c (+4/-2)
lp://staging/~indicator-applet-developers/indicator-datetime/ubuntu
- Ken VanDine: Pending requested
-
Diff: 301 lines (+59/-27) (has conflicts)8 files modifiedChangeLog (+32/-0)
configure (+10/-19)
configure.ac (+1/-2)
data/datetime-dialog.ui (+0/-1)
debian/changelog (+14/-0)
debian/control (+0/-2)
src/datetime-prefs.c (+0/-1)
src/datetime-service.c (+2/-2)
lp://staging/~ubuntu-desktop/indicator-datetime/ubuntu
- Indicator Applet Developers: Pending requested
-
Diff: 285 lines (+248/-0) (has conflicts)3 files modifieddebian/changelog (+204/-0)
debian/control (+35/-0)
src/datetime-service.c (+9/-0)
summary: |
- Can call setenv ("LANGAUGE", NULL) which corrupts the environment + Can call setenv ("LANGUAGE", NULL) which corrupts the environment |
Changed in indicator-datetime: | |
importance: | Undecided → High |
Changed in indicator-datetime: | |
assignee: | nobody → Ted Gould (ted) |
Changed in ubuntu-translations: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in indicator-datetime: | |
milestone: | none → 0.3.0 |
Changed in indicator-datetime: | |
status: | New → Fix Committed |
Changed in indicator-datetime: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-translations: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
libc bug 861132