Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1471370 Details for
Bug 1609504
gdb is crashing on almost any backtrace
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
autoconf generated conftest.c program which crashes gdb.
conftest.c (text/x-csrc), 5.84 KB, created by
Tomasz Kłoczko
on 2018-07-29 14:18:11 UTC
(
hide
)
Description:
autoconf generated conftest.c program which crashes gdb.
Filename:
MIME Type:
Creator:
Tomasz Kłoczko
Created:
2018-07-29 14:18:11 UTC
Size:
5.84 KB
patch
obsolete
>/* confdefs.h */ >#define PACKAGE_NAME "lftp" >#define PACKAGE_TARNAME "lftp" >#define PACKAGE_VERSION "4.8.3" >#define PACKAGE_STRING "lftp 4.8.3" >#define PACKAGE_BUGREPORT "lftp-bugs@lftp.yar.ru" >#define PACKAGE_URL "" >#define PACKAGE "lftp" >#define VERSION "4.8.3" >#define STDC_HEADERS 1 >#define HAVE_SYS_TYPES_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STRING_H 1 >#define HAVE_MEMORY_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_UNISTD_H 1 >#define __EXTENSIONS__ 1 >#define _ALL_SOURCE 1 >#define _DARWIN_C_SOURCE 1 >#define _GNU_SOURCE 1 >#define _NETBSD_SOURCE 1 >#define _OPENBSD_SOURCE 1 >#define _POSIX_PTHREAD_SEMANTICS 1 >#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 >#define __STDC_WANT_IEC_60559_BFP_EXT__ 1 >#define __STDC_WANT_IEC_60559_DFP_EXT__ 1 >#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 >#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 >#define __STDC_WANT_LIB_EXT2__ 1 >#define __STDC_WANT_MATH_SPEC_FUNCS__ 1 >#define _TANDEM_SOURCE 1 >#define _DARWIN_USE_64_BIT_INODE 1 >#define _DARWIN_USE_64_BIT_INODE 1 >#define HAVE_CXX_BOOL 1 >#define __STDC_LIMIT_MACROS 1 >#ifndef __x86_64__ >#define __x86_64__ 1 >#endif >#ifndef __x86_64__ >#define __x86_64__ 1 >#endif >#define HAVE_ICONV 1 >#define ICONV_CONST >#define ENABLE_NLS 1 >#define HAVE_GETTEXT 1 >#define HAVE_DCGETTEXT 1 >#define DEFAULT_PAGER "exec more" >#define HAVE_DLFCN_H 1 >#define LT_OBJDIR ".libs/" >#define HAVE_ALLOCA_H 1 >#define HAVE_ALLOCA 1 >#define HAVE_ARPA_INET_H 1 >#define HAVE_FEATURES_H 1 >#define HAVE_SYS_SOCKET_H 1 >#define HAVE_DIRENT_H 1 >#define HAVE_UNISTD_H 1 >#define HAVE_WCTYPE_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_GETOPT_H 1 >#define HAVE_SYS_CDEFS_H 1 >#define HAVE_SYS_TIME_H 1 >#define HAVE_ICONV_H 1 >#define HAVE_NETDB_H 1 >#define HAVE_NETINET_IN_H 1 >#define HAVE_LIMITS_H 1 >#define HAVE_WCHAR_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_LANGINFO_H 1 >#define HAVE_MATH_H 1 >#define HAVE_SYS_MMAN_H 1 >#define HAVE_SYS_PARAM_H 1 >#define HAVE_POLL_H 1 >#define HAVE_SYS_IOCTL_H 1 >#define HAVE_MALLOC_H 1 >#define HAVE_SYS_SELECT_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_SYS_UIO_H 1 >#define HAVE_UTIME_H 1 >#define HAVE_BTOWC 1 >#define HAVE_CHOWN 1 >#define HAVE_FCHOWN 1 >#define HAVE_FCNTL 1 >#define HAVE_SYMLINK 1 >#define HAVE_ISBLANK 1 >#define HAVE_ISWCTYPE 1 >#define HAVE_MBSRTOWCS 1 >#define HAVE_MEMPCPY 1 >#define HAVE_WMEMCHR 1 >#define HAVE_WMEMCPY 1 >#define HAVE_WMEMPCPY 1 >#define HAVE_GETDTABLESIZE 1 >#define HAVE_GETLOGIN_R 1 >#define HAVE_GETTIMEOFDAY 1 >#define HAVE_GETPWNAM_R 1 >#define HAVE_LSTAT 1 >#define HAVE_MBSINIT 1 >#define HAVE_MBRTOWC 1 >#define HAVE_ISASCII 1 >#define HAVE_MPROTECT 1 >#define HAVE_TZSET 1 >#define HAVE_NL_LANGINFO 1 >#define HAVE_RECVMSG 1 >#define HAVE_SENDMSG 1 >#define HAVE_READLINK 1 >#define HAVE_SETENV 1 >#define HAVE_STRDUP 1 >#define HAVE_STRPTIME 1 >#define HAVE_STRTOUMAX 1 >#define HAVE_LOCALTIME_R 1 >#define HAVE_TIMEGM 1 >#define HAVE_SNPRINTF 1 >#define HAVE_WCRTOMB 1 >#define HAVE_ISWCNTRL 1 >#define HAVE_WCWIDTH 1 >#define HAVE_LANGINFO_CODESET 1 >#define HAVE_UNISTD_H 1 >#define HAVE_CHOWN 1 >#define HAVE_ENVIRON_DECL 1 >#define HAVE_DECL_STRERROR_R 1 >#define HAVE_STRERROR_R 1 >#define STRERROR_R_CHAR_P 1 >#define HAVE_WORKING_O_NOATIME 1 >#define HAVE_WORKING_O_NOFOLLOW 1 >#define HAVE_DECL_STRMODE 0 >#define HAVE_MBSTATE_T 1 >#define HAVE_DECL_ALARM 1 >#define HAVE_DECL_GETDTABLESIZE 1 >#define HAVE_DECL_GETLOGIN_R 1 >#define HAVE_DECL_GETLOGIN 1 >#define HAVE_GETOPT_H 1 >#define HAVE_GETOPT_LONG_ONLY 1 >#define restrict __restrict >#define HAVE_SHUTDOWN 1 >#define HAVE_STRUCT_SOCKADDR_STORAGE 1 >#define HAVE_SA_FAMILY_T 1 >#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 >#define HAVE_IPV4 1 >#define HAVE_IPV6 1 >#define HAVE_WINT_T 1 >#define HAVE_UNSIGNED_LONG_LONG_INT 1 >#define HAVE_LONG_LONG_INT 1 >#define HAVE_INTTYPES_H 1 >#define DBL_EXPBIT0_WORD 1 >#define DBL_EXPBIT0_BIT 20 >#define FLT_EXPBIT0_WORD 0 >#define FLT_EXPBIT0_BIT 23 >#define HAVE_DECL_GETC_UNLOCKED 1 >#define HAVE_WCHAR_T 1 >#define USE_POSIX_THREADS 1 >#define USE_POSIX_THREADS_WEAK 1 >#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 >#define HAVE_STDLIB_H 1 >#define MALLOC_0_IS_NONNULL 1 >#define HAVE_MAP_ANONYMOUS 1 >#define HAVE_DECL_MEMMEM 1 >#define HAVE_MEMMEM 1 >#define HAVE_MINMAX_IN_SYS_PARAM_H 1 >#define TIME_T_IS_SIGNED 1 >#define HAVE_STRUCT_TM_TM_ZONE 1 >#define HAVE_TM_ZONE 1 >#define HAVE_TM_GMTOFF 1 >#define PROMOTED_MODE_T mode_t >#define HAVE__BOOL 1 >#define HAVE_COMPOUND_LITERALS 1 >#define HAVE_DECL_SETENV 1 >#define HAVE_SEARCH_H 1 >#define HAVE_TSEARCH 1 >#define HAVE_SIGSET_T 1 >#define HAVE_DECL_STRDUP 1 >#define HAVE_DECL_STRTOK_R 1 >#define HAVE_DECL_STRTOUMAX 1 >#define _USE_STD_STAT 1 >#define HAVE_DECL_UNSETENV 1 >#define HAVE_INTTYPES_H_WITH_UINTMAX 1 >#define HAVE_STDINT_H_WITH_UINTMAX 1 >#define HAVE_INTMAX_T 1 >#define HAVE_SNPRINTF 1 >#define HAVE_STRNLEN 1 >#define HAVE_WCSLEN 1 >#define HAVE_WCSNLEN 1 >#define HAVE_MBRTOWC 1 >#define HAVE_WCRTOMB 1 >#define HAVE_DECL__SNPRINTF 0 >#define HAVE_SNPRINTF_RETVAL_C99 1 >#define HAVE_DECL_VSNPRINTF 1 >#define CHECK_PRINTF_SAFE 1 >/* end confdefs.h. */ > >#include <stdio.h> >#include <stdlib.h> >#include <string.h> >#ifdef _MSC_VER >/* See page about "Parameter Validation" on msdn.microsoft.com. */ >static void cdecl >invalid_parameter_handler (const wchar_t *expression, > const wchar_t *function, > const wchar_t *file, unsigned int line, > uintptr_t dummy) >{ > exit (1); >} >#endif >static char fmtstring[10]; >static char buf[100]; >int main () >{ > int count = -1; >#ifdef _MSC_VER > _set_invalid_parameter_handler (invalid_parameter_handler); >#endif > /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) > support %n in format strings in read-only memory but not in writable > memory. */ > strcpy (fmtstring, "%d %n"); > if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 > |strcmp (buf, "123 ") != 0 > |count != 4) > return 1; > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1609504
:
1471370
|
1471593