This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: automatically listing fixed bugs for NEWS


On Wed, 4 Nov 2015, Florian Weimer wrote:

> On 10/29/2015 05:57 PM, Joseph Myers wrote:
> >   [BZ #887] Math library function "logb" and "nextafter" inconsistent
> 
> I wonder if using something like [math/887] would be helpful, so that if
> it says âmathâ and âoverflowâ, you don't need to be worried if you
> browse for security fixes.

The attached version does that, current output:

  [math/887] Math library function "logb" and "nextafter" inconsistent
  [math/2542] Incorrect return from float gamma (-0X1.FA471547C2FE5P+1)
  [math/2543] Incorrect return from float gamma (-0X1.9260DCP+1)
  [math/2558] Incorrect return from double gamma (-0X1.FA471547C2FE5P+1)
  [libc/2898] [improve]  warning: the use  of `mktemp' is dangerous, better
    use `mkstemp'
  [localedata/4404] German translation of "Alarm clock" is misleading
  [math/6799] nextafter() and nexttoward() doen't set errno on
    overflow/underflow errors
  [math/6803] scalb(), scalbln(), scalbn() do not set errno on
    overflow/underflow
  [nis/10432] _nss_nis_setnetgrent assertion failure
  [dynamic-link/14341] Dynamic linker crash when DT_JMPREL and DT_REL{,A}
    are not contiguous
  [libc/14912] Rename non-installed bits/*.h headers
  [math/15367] Let gcc use __builtin_isinf
  [math/15384] One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
  [math/15470] [arm] On ARM llrintl() and llroundl() do not raise FE_INVALID
    with argument out of range
  [math/15491] [i386/x86_64] x86 nearbyint implementations wrongly clear all
    exceptions
  [dynamic-link/15786] ifunc resolver functions can smash function arguments
  [math/15918] Unnecessary check for equality in hypotf()
  [math/16068] [i386/x86_64] x86 and x86_64 fesetenv exclude state they
    should include
  [time/16141] strptime %z offset restriction
  [math/16171] drem should be alias of remainder
  [math/16296] fegetround is pure?
  [math/16347] [ldbl-128ibm] ldbl-128/e_lgammal_r.c may not be suitable.
  [math/16399] [mips] lrint / llrint / lround / llround missing exceptions
  [math/16415] Clean up ldbl-128 / ldbl-128ibm expm1l for large positive
    arguments
  [math/16422] [powerpc] math-float, math-double failing llrint tests with
    "Exception "Inexact" set" on ppc32
  [math/16517] Missing underflow exception from tanf/tan/tanl
  [math/16519] Missing underflow exception from sinhf
  [math/16520] Missing underflow exception from tanhf
  [math/16521] Missing underflow exception from exp2
  [math/16620] [ldbl-128ibm] exp10l spurious overflows / bad directed
    rounding results
  [stdio/16734] fopen calls mmap to allocate its buffer
  [localedata/16973] Fix lang_lib/lang_term as per ISO 639-2
  [locale/16985] localedef: confusing error message when opening output
    fails
  [math/17118] ctanh(INFINITY + 2 * I) returns incorrect value
  [libc/17243] trunk/posix/execl.c:53: va_args problem ?
  [libc/17244] trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ?
  [dynamic-link/17250] static linking breaks nss loading
    (getaddrinfo/getpwnam/etc...)
  [libc/17404] atomic_exchange_rel lacking a barrier on MIPS16, GCC before
    4.7?
  [math/17441] isnan() should use __builtin_isnan() in GCC
  [manual/17787] Exponent on page 324 of the PDF ends prematurely
  [time/17886] strptime should be able to parse "Z" as a timezone with %z
  [time/17887] strptime should be able to parse "+01:00" style timezones
  [libc/17905] catopen() Multiple unbounded stack allocations
  [libc/18084] backtrace (..., 0) dumps core on x86
  [libc/18086] nice() sets errno to 0 on success
  [libc/18240] hcreate((size_t)-1) should fail with ENOMEM
  [libc/18265] add attributes for wchar string and memory functions
  [math/18370] csqrt missing underflows
  [libc/18421] [hppa] read-only segment has dynamic relocations
  [libc/18480] hppa glibc miscompilation in sched_setaffinity()
  [localedata/18525] Remove locale timezone information
  [locale/18589] sort-test.sh fails at random
  [math/18595] ctan, ctanh missing underflows
  [libc/18604] assert macro-expands its argument
  [math/18610] S390: fetestexcept() reports any exception if DXC-code
    contains a vector instruction exception.
  [math/18611] j1, jn missing errno setting on underflow
  [localedata/18618] sync Chechen locale definitions with other *_RU locales
  [math/18647] powf(-0x1.000002p0, 0x1p30) returns 0 instead of +inf
  [libc/18661] Some x86-64 assembly codes don't align stack to 16 bytes
  [libc/18674] [i386] trunk/sysdeps/i386/tst-auditmod3b.c:84: possible
    missing break ?
  [libc/18675] fpathconf(_PC_NAME_MAX) fails against large filesystems for
    32bit processes
  [libc/18681] regexp.h is obsolete and buggy, and should be desupported
  [math/18699] tilegx cproj() for various complex infinities does not yield
    infinity
  [libc/18724] Harden put*ent functions against data injection
  [nptl/18743] PowerPC: findutils testcase fails with --enable-lock-elision
  [stdio/18757] fmemopen fails to set errno on failure
  [dynamic-link/18778] ld.so crashes if failed dlopen causes libpthread to
    be forced unloaded
  [libc/18781] openat64 lacks O_LARGEFILE
  [libc/18787] [hppa] sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6:
    error: canât find a register in class âR1_REGSâ while reloading âasmâ
  [math/18789] [ldbl-128ibm] sinhl inaccurate near 0
  [math/18790] [ldbl-128ibm] tanhl inaccurate
  [libc/18795] stpncpy fortification misses buffer lengths that are
    statically too large
  [build/18796] build fails for --disable-mathvec
  [math/18803] hypot missing underflows
  [stdio/18820] fmemopen may leak memory on failure
  [math/18823] csqrt spurious underflows
  [math/18824] fma spurious underflows
  [math/18825] pow missing underflows
  [math/18857] [ldbl-128ibm] nearbyintl wrongly uses signaling comparisons
  [build/18870] sem_open.c fails to compile with missing symbol FUTEX_SHARED
  [stdio/18872] Fix memory leak in printf_positional
  [libc/18873] posix_fallocate overflow check ineffective
  [math/18875] Excess precision leads incorrect libm
  [libc/18877] arm: mmap offset regression
  [libc/18887] memory corruption when using getmntent on blank lines
  [localedata/18918] hu_HU: change time to HH:MM:SS format
  [libc/18921] Regression: extraneous stat() and fstat() performed by
    opendir()
  [dynamic-link/18928] LD_POINTER_GUARD is not ignored for privileged
    binaries
  [math/18951] tgamma missing underflows
  [math/18952] [ldbl-128/ldbl-128ibm] lgammal spurious "invalid", incorrect
    signgam
  [localedata/18953] lt_LT: change currency symbol to the euro
  [math/18956] powf inaccuracy
  [math/18961] [i386] exp missing underflows
  [math/18966] [i386] exp10 missing underflows
  [math/18967] math.h XSI POSIX namespace (gamma, isnan, scalb)
  [build/18969] multiple string test failures due to missing locale
    dependencies
  [libc/18970] Reference of pthread_setcancelstate in libc.a
  [math/18977] float / long double Bessel functions not in XSI POSIX
  [math/18980] i386 libm functions return with excess range and precision
  [math/18981] i386 scalb*, ldexp return with excess range and precision
  [stdio/18982] va_list and vprintf
  [time/18985] Passing out of range data to strftime() causes a segfault
  [math/19003] [x86_64] fma4 version of pow inappropriate contraction
  [libc/19007] FAIL: elf/check-localplt with -z now and binutils 2.26
  [locale/19012] iconv_open leaks memory on error path
  [math/19016] clog, clog10 inaccuracy
  [nptl/19018] Mangle function pointers in tls_dtor_list
  [math/19032] [i386] acosh (-qNaN) spurious "invalid" exception
  [math/19046] ldbl-128 / ldbl-128ibm lgamma bad overflow handling
  [malloc/19048] malloc: arena free list can become cyclic, increasing
    contention
  [math/19049] [powerpc] erfc incorrect zero sign
  [math/19050] [powerpc] log* incorrect zero sign
  [math/19059] nexttoward overflow incorrect in non-default rounding modes
  [math/19071] ldbl-96 lroundl incorrect just below powers of 2
  [network/19074] Data race in _res_hconf_reorder_addrs
  [math/19076] [ldbl-128ibm] log1pl (-1) wrong sign of infinity
  [math/19077] [ldbl-128ibm] logl (1) incorrect sign of zero result
  [math/19078] [ldbl-128ibm] expl overflow incorrect in non-default rounding
    modes
  [math/19079] dbl-64/wordsize-64 lround based on llround incorrect for
    ILP32
  [math/19085] ldbl-128 lrintl, lroundl missing exceptions for 32-bit long
  [manual/19086] posix_fallocate64 documented argument order is wrong.
  [math/19088] lround, llround missing exceptions close to overflow
    threshold
  [math/19094] lrint, llrint missing exceptions close to overflow threshold
  [math/19095] dbl-64 lrint incorrect for 64-bit long
  [dynamic-link/19124] ld.so failed to build with older assmebler
  [math/19125] [powerpc32] llroundf, llround incorrect exceptions
  [dynamic-link/19129] [arm] Concurrent lazy TLSDESC resolution can crash
  [math/19134] [powerpc32] lround, lroundf spurious exceptions
  [libc/19137] i386/epoll_pwait.S doesn't support cancellation
  [math/19156] [ldbl-128] j0l spurious underflows
  [nptl/19174] PowerPC: TLE enabled pthread mutex performs poorly.
  [math/19181] [i386/x86_64] fesetenv (FE_DFL_ENV), fesetenv (FE_NOMASK_ENV)
    do not clear SSE exceptions
  [math/19189] [ldbl-128] log1pl (-qNaN) spurious "invalid" exception
  [math/19201] dbl-64 remainder incorrect sign of zero result

-- 
Joseph S. Myers
joseph@codesourcery.com
#! /usr/bin/python3
# Copyright (C) 2015 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# The GNU C Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; if not, see
# <http://www.gnu.org/licenses/>.

"""List fixed bugs for the NEWS file.

This script takes a version number as input and generates a list of
bugs marked as FIXED with that milestone, to be added to the NEWS file
just before release.  Run the script in a UTF-8 locale.
"""

import json
import sys
import textwrap
import urllib.request

def list_fixed_bugs(version):
    """List the bugs fixed in a given version."""
    url = ('https://sourceware.org/bugzilla/rest.cgi/bug?product=glibc'
           '&resolution=FIXED&target_milestone=%s'
           '&include_fields=id,component,summary' % version)
    response = urllib.request.urlopen(url)
    json_data = response.read().decode('utf-8')
    data = json.loads(json_data)
    for bug in data['bugs']:
        desc = '[%s/%d] %s' % (bug['component'], bug['id'], bug['summary'])
        desc = textwrap.fill(desc, width=76, initial_indent='  ',
                             subsequent_indent='    ')
        print(desc)

if __name__ == '__main__':
    list_fixed_bugs(sys.argv[1])

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]