Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another error | Corinna Vinschen | 2014-06-23 | 2 | -0/+6 |
| | | | | case to make Coverity really happy (CID 59993). | ||||
* | * select.cc (start_thread_socket): Delete si on early return in case of | Corinna Vinschen | 2014-06-23 | 2 | -3/+17 |
| | | | | an error (CID 59967). | ||||
* | * regex/regcomp.c (computematchjumps): Free local memory in case of | Corinna Vinschen | 2014-06-23 | 2 | -0/+8 |
| | | | | error (CID 59975). | ||||
* | * mount.cc (fs_info::update): Define dir in the outermost scope to avoid | Corinna Vinschen | 2014-06-23 | 2 | -4/+10 |
| | | | | | accessing out-of-scope value (CID 60027). Always initialize attr to upath (CID 60113). | ||||
* | * malloc_wrapper.cc (mallinfo): Initialize m if external malloc is used, | Corinna Vinschen | 2014-06-23 | 2 | -1/+9 |
| | | | | too (CID 60120). | ||||
* | * localtime.cc (tzload): Fix leaking memory (CID 60001). | Corinna Vinschen | 2014-06-23 | 2 | -1/+5 |
| | |||||
* | * exceptions.cc (try_to_debug): Free environment pointer when not used | Corinna Vinschen | 2014-06-23 | 2 | -1/+7 |
| | | | | anymore (CID 59968). | ||||
* | * net.cc (cygwin_getaddrinfo): Fix value of hint->ai_addrlen on 64 bit. | Corinna Vinschen | 2014-06-23 | 2 | -0/+15 |
| | | | | Explain why. | ||||
* | * environ.cc (regopt): Allocate small local buffer to avoid copying | Corinna Vinschen | 2014-06-23 | 2 | -7/+12 |
| | | | | twice. Fixes resource leak (CID 60012). Add comment. | ||||
* | * dll_init.cc (dll_list::alloc): Fix buffer overrun (CID 59940). | Corinna Vinschen | 2014-06-23 | 2 | -1/+5 |
| | |||||
* | * dcrt0.cc (insert_file): Fix resource leaks (CIDs 59987, 59988). | Corinna Vinschen | 2014-06-23 | 2 | -0/+7 |
| | |||||
* | * client.cc: Throughout, fix debug output of signed byte count value. | Corinna Vinschen | 2014-06-23 | 2 | -8/+12 |
| | |||||
* | * ldap.cc (CYG_LDAP_TIMEOUT): Set to 5 secs. | Corinna Vinschen | 2014-06-23 | 2 | -10/+27 |
| | | | | | | | | | (CYG_LDAP_ENUM_TIMEOUT): New timeout value for enumeration only. Set to 60 secs. (CYG_LDAP_ENUM_PAGESIZE): Define as number of entries per single search page. Set to 100. Use throughout. (def_tv): Rename from tv. Use throughout. (enum_tv): New variable. Use in call to ldap_get_next_page_s. | ||||
* | * ldap.cc (CYG_LDAP_TIMEOUT): Define as timeout value. Set to 30 secs | Corinna Vinschen | 2014-06-18 | 3 | -6/+27 |
| | | | | | | | for now. Use throughout. * uinfo.cc (colon_to_semicolon): New local function. (pwdgrp::fetch_account_from_windows): Convert all colons in AD gecos entry to commas. | ||||
* | * faq-programming.xml: Add gettext-devel to list of packages needed to build | Christopher Faylor | 2014-06-17 | 2 | -1/+6 |
| | | | | Cygwin. | ||||
* | Fix timestamp | Corinna Vinschen | 2014-06-17 | 1 | -1/+1 |
| | |||||
* | * libc/rexec.cc (cygwin_rexec): Make ahostbuf static to avoid returning | Corinna Vinschen | 2014-06-17 | 2 | -1/+6 |
| | | | | an out-of-scope address. | ||||
* | * passwd.c (main): Fix typo in error output. | Corinna Vinschen | 2014-06-16 | 2 | -1/+6 |
| | |||||
* | * fhandler_socket.cc (fhandler_socket::evaluate_events): Call | Corinna Vinschen | 2014-06-16 | 2 | -2/+11 |
| | | | | WSASetLastError after setsockopt. Explain why. | ||||
* | * grp.cc (getgrouplist): Fix setting ngroups to make sure to return | Corinna Vinschen | 2014-06-16 | 2 | -1/+6 |
| | | | | the right value. | ||||
* | merge from gcc | DJ Delorie | 2014-06-11 | 2 | -0/+10 |
| | |||||
* | * libc/machine/aarch64/strchrnul.S: New file. | Richard Earnshaw | 2014-06-11 | 5 | -5/+208 |
| | | | | | | * libc/machine/aarch64/strchrnul-stub.c: New file. * libc/machine/aarch64/Makefile.am: Add them to build list. * libc/machine/aarch64/Makefile.in: Regenerated. | ||||
* | * libc/machine/aarch64/strchr.S: New file | Richard Earnshaw | 2014-06-10 | 5 | -3/+220 |
| | | | | | | * libc/machine/aarch64/strchr-stub.c: New file * libc/machine/aarch64/Makefile.am: Add them to build list. * libc/machine/aarch64/Makefile.in: Regenerated. | ||||
* | * configure.host (default_newlib_nano_malloc): New. | DJ Delorie | 2014-06-10 | 6 | -21/+44 |
| | | | | | | | | | | | (msp430): Set it. * configure.in (newlib_nano_malloc): Leave unset if not set by the user. * configure: Regenerate. * libc/configure.in (NEWLIB_NANO_MALLOC): Set after running configure.host. (newlib_nano_malloc): Leave unset if not set by the user. * libc/configure: Regenerate. | ||||
* | * timer.cc (timer_tracker::cancel): Demote api_fatal to system_printf, printing | Christopher Faylor | 2014-06-05 | 2 | -2/+8 |
| | | | | more details about odd failure condition. | ||||
* | * autoload.cc (ldap_memfreeW): Remove. | Corinna Vinschen | 2014-05-23 | 3 | -17/+25 |
| | | | | | | | | (ldap_msgfree): Import. * ldap.cc: Throughout, use ldap_msgfree to free LDAPMessage memory, rather than ldap_memfreeW. (cyg_ldap::next_account): Immediately abandon search when quiting from search. | ||||
* | *** empty log message *** | Corinna Vinschen | 2014-05-23 | 1 | -0/+2 |
| | |||||
* | * autoload.cc (ldap_abandon): Remove. | Corinna Vinschen | 2014-05-22 | 4 | -30/+59 |
| | | | | | | | | | | | | | | | | | (ldap_count_entries): Import. (ldap_get_next_page_s): Import. (ldap_result): Remove. (ldap_searchW): Remove. (ldap_search_abandon_page): Import. (ldap_search_init_pageW): Import. * ldap.cc (cyg_ldap::close): Use ldap_search_abandon_page to abandon search. Reset srch_id, srch_msg and srch_entry. (cyg_ldap::enumerate_ad_accounts): Use paged search to overcome server side search result set restriction. (cyg_ldap::next_account): Ditto. * ldap.h (class cyg_ldap): Add members srch_id, srch_msg and srch_entry. Remove member msg_id. (cyg_ldap::cyg_ldap): Change initialization accordingly. | ||||
* | * sec_auth.cc (get_server_groups): Call get_user_local_groups only if | Corinna Vinschen | 2014-05-22 | 2 | -3/+11 |
| | | | | get_logon_server succeeded. | ||||
* | merge from gcc | DJ Delorie | 2014-05-22 | 2 | -1/+8 |
| | |||||
* | * ldap.cc (cyg_ldap::fetch_ad_account): Take additional domain string | Corinna Vinschen | 2014-05-22 | 4 | -13/+43 |
| | | | | | | | | | | | | parameter. Convert into likely rootDSE string if not NULL, and use in subsequent call to ldap_search_stW. Add comment to explain that this is not the exactly correct solution. * ldap.h (cyg_ldap::fetch_ad_account): Change prototype accordingly. * uinfo.cc (pwdgrp::fetch_account_from_windows): Always use loc_ldap in call to fetch_posix_offset to make sure we're fetchoinmg the posix offsets from *our* domain controller. Only set domain variable to non-NULL if the account is from a trusted domain. Use domain in call to cyg_ldap::fetch_ad_account. | ||||
* | * gmon.h: Pull in profile.h. Explain why. | Corinna Vinschen | 2014-05-22 | 2 | -0/+20 |
| | |||||
* | * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix potential SEGV | Corinna Vinschen | 2014-05-22 | 2 | -5/+10 |
| | | | | referencing NULL pointer. | ||||
* | * libc/bsdlib.cc (forkpty): Close master and slave if fork fails to | Corinna Vinschen | 2014-05-22 | 4 | -110/+84 |
| | | | | | | | avoid resource leak (CID 59997). * libc/fts.c: Update to FreeBSD version 1.39 (CID 59947). * libc/minires.c (minires_get_search): Fix out-of-bounds read from words array (CID 59937). | ||||
* | * flock.cc (delete_lock_in_parent): Use LIST_FOREACH_SAFE to avoid | Corinna Vinschen | 2014-05-20 | 2 | -3/+8 |
| | | | | dereferencing freed pointer (CID 60224). | ||||
* | * fhandler_procsysvipc.cc (format_procsysvipc_msg): Rearrange code to | Corinna Vinschen | 2014-05-20 | 2 | -95/+149 |
| | | | | | | | avoid resource leakage (CID 60002). Don't use tmp_pathbuf, explain why. Fix indentation. (format_procsysvipc_sem): Ditto. (format_procsysvipc_shm): Ditto (CID 60003). | ||||
* | * fhandler_process.cc (get_mem_values): Rearrange code slightly to | Corinna Vinschen | 2014-05-20 | 2 | -11/+17 |
| | | | | | | | avoid resource leakage (CID 59973). (format_process_stat): Drop temporary variable wcmd and avoid string copy without length check (CID 60050). (format_process_status): Ditto (CID 60051). | ||||
* | * fhandler_proc.cc (format_proc_swaps): Use tmp_pathbuf for filename, | Corinna Vinschen | 2014-05-20 | 2 | -9/+8 |
| | | | | rather than allocating and forgetting to free (CID 59982). | ||||
* | * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Fix floppy | Corinna Vinschen | 2014-05-20 | 3 | -8/+30 |
| | | | | drive handling broken with 1.7.19. | ||||
* | * scandir.cc (scandir): Assume namelist is always valid, per POSIX. | Corinna Vinschen | 2014-05-20 | 3 | -29/+48 |
| | | | | | | | (CID 60021). * sec_auth.cc (cygwin_logon_user): Securely erase password copy. (lsaprivkeyauth): Avoid trying to dereference data if no key is stored in the registry (CID 60122). Securely erase passwords after usage. | ||||
* | * pseudo-reloc.cc (__report_error): Raise size of module name buffer to | Corinna Vinschen | 2014-05-19 | 2 | -2/+7 |
| | | | | PATH_MAX. Fix length in call to GetModuleFileNameW (CID 59947). | ||||
* | * net.cc (call_gaa): Fix setting pa_ret pointer in case of an error | Corinna Vinschen | 2014-05-19 | 2 | -6/+15 |
| | | | | | | from GetAdaptersAddresses (CID 60218). (get_ifs): Add missing braces in AF_INET6 case which broke netmask computation. Break out of loop if prefix gets <= 0 (CID 59939). | ||||
* | * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 31. | Corinna Vinschen | 2014-05-19 | 4 | -34/+50 |
| | |||||
* | * dtable.cc (handle_to_fn): Fix length parameter in call to | Corinna Vinschen | 2014-05-19 | 2 | -2/+7 |
| | | | | QueryDosDeviceW (CID 59936). | ||||
* | * pinfo.cc (pinfo_basic::pinfo_basic): Fix size of progname array in | Corinna Vinschen | 2014-05-19 | 2 | -2/+7 |
| | | | | call to GetModuleFileNameW (CID 59935). | ||||
* | * smallprintf.cc (__small_vsprintf): Add missing break in 'C' case. | Corinna Vinschen | 2014-05-19 | 2 | -1/+6 |
| | |||||
* | * exceptions.cc (try_to_debug): Fix size of dbg_cmd (CID 59929). | Corinna Vinschen | 2014-05-19 | 2 | -1/+5 |
| | |||||
* | * bsd_mutex.cc (msleep_sync_array::~msleep_sync_array): New destructor | Corinna Vinschen | 2014-05-19 | 2 | -0/+7 |
| | | | | to make Coverity happy (CID 59838). | ||||
* | * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs to make | Corinna Vinschen | 2014-05-19 | 3 | -4/+18 |
| | | | | | | Coverity happy (CID 59993). * transport_pipes.cc (transport_layer_pipes::listen): Make listen_pipe and connect_pipe statics to make Coverity happy (CID 60010/60011). | ||||
* | * syscalls.cc (getusershell): Fix buffer overrun (Coverity ID 59932). | Corinna Vinschen | 2014-05-19 | 2 | -1/+5 |
| |