2012-06-22 02:43:12 |
Anders Kaseorg |
bug |
|
|
added bug |
2012-06-22 02:43:37 |
Anders Kaseorg |
bug watch added |
|
http://sourceware.org/bugzilla/show_bug.cgi?id=12194 |
|
2012-06-22 02:43:37 |
Anders Kaseorg |
bug task added |
|
eglibc |
|
2012-06-22 02:43:58 |
Anders Kaseorg |
bug watch added |
|
https://bugzilla.redhat.com/show_bug.cgi?id=834447 |
|
2012-06-22 02:43:58 |
Anders Kaseorg |
bug task added |
|
glibc (Fedora) |
|
2012-06-22 02:48:37 |
Keith Winstein |
bug |
|
|
added subscriber Keith Winstein |
2012-06-22 02:48:42 |
Launchpad Janitor |
eglibc (Ubuntu): status |
New |
Confirmed |
|
2012-06-22 03:57:10 |
Bug Watch Updater |
eglibc: status |
Unknown |
Fix Released |
|
2012-06-22 03:57:10 |
Bug Watch Updater |
eglibc: importance |
Unknown |
Medium |
|
2012-07-24 20:22:36 |
Adam Conrad |
nominated for series |
|
Ubuntu Precise |
|
2012-07-24 20:22:36 |
Adam Conrad |
bug task added |
|
eglibc (Ubuntu Precise) |
|
2012-08-09 21:26:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/eglibc |
|
2012-08-09 23:45:13 |
Launchpad Janitor |
eglibc (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-09-12 19:37:31 |
Chris J Arges |
description |
The definition of htons() on platforms other than i386 and amd64 is missing a cast to uint16_t, which caused this FTBFS of mosh on armel and armhf:
https://launchpad.net/ubuntu/+source/mosh/1.2.1-1ubuntu1/+build/3582950
network.cc:76:28: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing]
network.cc:76:50: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing]
(We didn’t see this before because this warning is new in GCC 4.7.)
This was fixed for glibc 2.16 in
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2174c6dd8555f654c30df2f8f3321b69e0f736f8 |
[Impact]
htons() on non x86 platforms is missing a cast to uint16_t which causes FTBFS of mosh on armel and armhf.
[Development Fix]
This has been fixed in eglibc in Quantal.
[Stable Fix]
A fix can be backported from the Quantal development version into Precise.
[Test Case]
See https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1016349/comments/2
On how to reproduce with a C program.
[Regression Potential]
This patch affects some of the generic byteswaping code in eglibc. The fix for x86 arches was already completed years ago, and this patch fixes is for other arches.
--
The definition of htons() on platforms other than i386 and amd64 is missing a cast to uint16_t, which caused this FTBFS of mosh on armel and armhf:
https://launchpad.net/ubuntu/+source/mosh/1.2.1-1ubuntu1/+build/3582950
network.cc:76:28: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing]
network.cc:76:50: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing]
(We didn’t see this before because this warning is new in GCC 4.7.)
This was fixed for glibc 2.16 in
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2174c6dd8555f654c30df2f8f3321b69e0f736f8 |
|
2012-09-12 19:37:44 |
Chris J Arges |
eglibc (Ubuntu Precise): assignee |
|
Adam Conrad (adconrad) |
|
2012-09-12 19:37:47 |
Chris J Arges |
eglibc (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-09-12 19:37:51 |
Chris J Arges |
eglibc (Ubuntu Precise): status |
New |
In Progress |
|
2012-09-12 22:21:09 |
Clint Byrum |
eglibc (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2012-09-12 22:21:11 |
Clint Byrum |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-09-12 22:21:16 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2012-09-12 22:21:18 |
Clint Byrum |
tags |
|
verification-needed |
|
2012-10-17 08:20:39 |
Adam Conrad |
tags |
verification-needed |
verification-done |
|
2012-10-18 08:03:36 |
Colin Watson |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-11-14 22:48:01 |
Adam Conrad |
eglibc (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-11-14 22:48:09 |
Adam Conrad |
cve linked |
|
2012-3406 |
|
2012-11-14 22:48:09 |
Adam Conrad |
cve linked |
|
2012-3480 |
|
2013-06-25 06:19:11 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/eglibc |
|
2013-08-28 10:02:58 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/precise/eglibc/precise-proposed |
|
2017-10-28 06:34:46 |
Bug Watch Updater |
glibc (Fedora): status |
Unknown |
Fix Released |
|
2017-10-28 06:34:46 |
Bug Watch Updater |
glibc (Fedora): importance |
Unknown |
Medium |
|