* iconvdata/utf-7.c: Don't require more than two characters after
	the '+' sign starting Unicode shifted sequences.
This commit is contained in:
Ulrich Drepper 2006-05-02 06:17:16 +00:00
parent afbf86d209
commit 2748878913
5 changed files with 16 additions and 1514 deletions

View File

@ -1,5 +1,9 @@
2006-05-01 Ulrich Drepper <drepper@redhat.com>
[BZ #2502]
* iconvdata/utf-7.c: Don't require more than two characters after
the '+' sign starting Unicode shifted sequences.
* misc/tsearch.c (__tdelete): Remove unnecessary test
[Coverity CID 75].

1508
INTERFACE

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@
A-Z a-z 0-9 ' ( ) , - . / : ? space tab lf cr
*/
static const unsigned char direct_tab[128/8] =
static const unsigned char direct_tab[128 / 8] =
{
0x00, 0x26, 0x00, 0x00, 0x81, 0xf3, 0xff, 0x87,
0xfe, 0xff, 0xff, 0x07, 0xfe, 0xff, 0xff, 0x07
@ -62,7 +62,7 @@ isdirect (uint32_t ch)
! " # $ % & * ; < = > @ [ ] ^ _ ` { | }
*/
static const unsigned char xdirect_tab[128/8] =
static const unsigned char xdirect_tab[128 / 8] =
{
0x00, 0x26, 0x00, 0x00, 0xff, 0xf7, 0xff, 0xff,
0xff, 0xff, 0xff, 0xef, 0xff, 0xff, 0xff, 0x3f
@ -79,7 +79,7 @@ isxdirect (uint32_t ch)
A-Z a-z 0-9 + / -
*/
static const unsigned char xbase64_tab[128/8] =
static const unsigned char xbase64_tab[128 / 8] =
{
0x00, 0x00, 0x00, 0x00, 0x00, 0xa8, 0xff, 0x03,
0xfe, 0xff, 0xff, 0x07, 0xfe, 0xff, 0xff, 0x07
@ -170,7 +170,7 @@ base64 (unsigned int i)
} \
else if (__builtin_expect (ch == '+', 1)) \
{ \
if (__builtin_expect (inptr + 2 >= inend, 0)) \
if (__builtin_expect (inptr + 2 > inend, 0)) \
{ \
/* Not enough input available. */ \
result = __GCONV_INCOMPLETE_INPUT; \

View File

@ -1,3 +1,8 @@
2006-05-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/allocalim.h (__libc_use_alloca): Mark with
__always_inline.
2006-04-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):

View File

@ -1,5 +1,5 @@
/* Determine whether block of given size can be allocated on the stack or not.
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2006 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
@ -21,7 +21,8 @@
#include <limits.h>
extern inline int
extern int
__always_inline
__libc_use_alloca (size_t size)
{
return (__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)