From urs at tin.org Sat Oct 4 11:26:40 2025 From: urs at tin.org (Urs =?UTF-8?Q?Jan=C3=9Fen?=) Date: Sat, 04 Oct 2025 11:26:40 +0200 Subject: [tin-dev] [tin 2.6.5] snapshots References: Message-ID: In Urs Jan?en wrote: > New Snapshots available, mainly bugfixes: fix for a possible null pointer dereference on aborted () LookupMessage ('L') whith no Message-ID in ${TIN_HOMEDIR:-"$HOME"}/.tin/.inputhistory === modified file 'src/group.c' --- old/src/group.c 2025-07-23 09:54:24 +0000 +++ new/src/group.c 2025-09-27 14:27:38 +0000 @@ -513,7 +513,7 @@ const char *eyde = input_history[HIST_MESSAGE_ID][(hist_pos[HIST_MESSAGE_ID] - 1 + HIST_SIZE) % HIST_SIZE]; int sc = selmenu.curr; - if (*eyde) { + if (eyde && *eyde) { switch (show_article_by_msgid(eyde)) { case LOOKUP_OK: selmenu.curr = sc; === modified file 'src/page.c' --- old/src/page.c 2025-09-18 10:07:46 +0000 +++ new/src/page.c 2025-09-28 07:54:14 +0000 @@ -515,7 +515,7 @@ const char *eyde = input_history[HIST_MESSAGE_ID][(hist_pos[HIST_MESSAGE_ID] - 1 + HIST_SIZE) % HIST_SIZE]; int tr = this_resp; - if (*eyde) { + if (eyde && *eyde) { switch (show_article_by_msgid(eyde)) { case LOOKUP_OK: art_close(&pgart); === modified file 'src/thread.c' --- old/src/thread.c 2025-07-28 11:36:58 +0000 +++ new/src/thread.c 2025-09-27 14:27:46 +0000 @@ -783,7 +783,7 @@ else { const char *eyde = input_history[HIST_MESSAGE_ID][(hist_pos[HIST_MESSAGE_ID] - 1 + HIST_SIZE) % HIST_SIZE]; - if (*eyde) { + if (eyde && *eyde) { switch (show_article_by_msgid(eyde)) { case LOOKUP_OK: if (!index_group(curr_group)) From urs at tin.org Thu Oct 30 07:53:00 2025 From: urs at tin.org (Urs =?UTF-8?Q?Jan=C3=9Fen?=) Date: Thu, 30 Oct 2025 07:53:00 +0100 Subject: [tin-dev] [tin 2.6.5] snapshots References: Message-ID: New Snapshots available, mainly documentation updates. And some sad news: unfortunately, Enrik has lost his battle with cancer. Over the last 30 years, he contributed a number of bug fixes and improvements, most notably NNTPS support. Changes since 2.6.4: 029) Remus-Gabriel Chelu ADD. Romanian translation FIX. ro.po 028) Bjarni Ingi Gislason ADD. manpage fixes (debian bug #1093395, #1096177) FIX. tin.[15] 027) Dennis Preiser ADD. avoid macro in snprintf() as that might be a macro too ADD. fallback code for the !CPP_DOES_CONCAT case ADD. plural forms ADD. prefer MIME filename*-parameter over filename-parameter ADD. if a MIME filename parameter is empty after path removal fallback to the next filename parameter if available. ADD. PageToggleVerbatim (,) ADD. validate undeclared_charset in 'M'enu ADD. extend verbatim_handling options ADD. ignore col_invers_bg == col_invers_fg == -1 ADD. page_yenc_format ADD. per scope hide_inline_data via attributes ADD. cleanup draw_page_header(), fmt_option_prompt() ADD. color the color-menu items while selecting the color ADD. serverrc-menu via ConfigServerrcMenu ('s') BUG. -L/'L' did depend on sort_article_type/sort_threads_type and failed for some combinations BUG. possible memleaks BUG. layout issue with multibyte chars on posting history screen BUG. IGNORE_ART() macro didn't honor kill_level == KILL_THREAD BUG. possible buffer overflow with -C FIX. art.c, attrib.c, charset.c, color.c, config.c, cook.c, curses.c feed.c, filter.c, global.c, group.c, header.c, help.c, init.c keymap.c, lang.c, main.c, makecfg.c, memory.c, misc.c, nntplib.c options_menu.c, page.c, post.c, prompt.c, rfc2045.c, rfc2046.c rfc2047.c, save.c, search.c, select.c, signal.c, string.c, tcurses.c thread.c, extern.h, keymap.h, proto.h, rfc2046.h, tin.h, tinrc.h tincfg.tbl, tin.[15] 026) Urs Janssen ADD. avoid bison warning ADD. use ngettext(3) for plural-forms ADD. avoid "install -D" ADD. --with-url-normalization[=[uriparser,curl] (default: yes) check for liburiparser or libcurl for URL normalization ADD. if reading via NNTP Message-ID 'L'ookup in group-, thread- and page level now try to find the ID via NNTP if the ID is not in the current group ADD. adjust IPv6 part of URL_REGEX ADD. do not check for libgsasl but zlib if not using NNTP ADD. move setlocale in write_overview() out of the loop ADD. reject invalid undeclared_charset in attributes ADD. if cache_overview_files is set, keep raw Subject and From data so the cache is build with the original data instead of trying recompile it from our preprocessed data. ADD. hash Path in overview-data ADD. Xref- and Path-filter to filter-menu ADD. ToggleInfoLastLine ('i') to OptionMenu ('M') Add. ConnectionInfo ('J') to OptionMenu ('M') and PageViewAttach ('V') ADD. configure check for getsockopt(), setsockopt(), posix_close(), realpath(), lstat(), sig_atomic_t, volatile ADD. set TCP_USER_TIMEOUT or TCP_CONNECTIONTIMEOUT and TCP_RXT_CONNDROPTIME if available ADD. use truncate/append for .oldnewsrc (debian bug #151113) ADD. detect "begin-encoded" as start of an uuencoded file with a base64 encoed filename. ADD. hide_inline_data (was hide_uue) now also can hide (partial) yenc, inline pgp and shar ADD. crc32()-fallback from Gary S. Brown ADD. hideline_regex tinrc/'M'enu option similar to trn4 $HIDELINE ADD. merge is_art_tex_encoded() into process_text_body_part() ADD. ALPN with TLS (RFC 7301) ADD. add_cmd_line_opts and disabled_nntp_cmds to serverrc, the later must be used to replace the now dropped --disable-xhdr-xref and --enable-broken-listgroup-fix configure options ADD. cache_overview_files and compress_overview_files to serverrc ADD. nntp_pipeline_limit to serverrc (DISABLE_PIPELINING replacement) ADD. keep_expired_filters to keep expired rules (debian bug #1109039) ADD. -n cmd.line.grp now also allows to specify a group not present in newsrc yet (same for -nw) ADD. 'g'oto group now works with -n even if group is not present in newsrc ADD. -L/'L'ookup Message-ID now works with -n even if Message-ID is in a group not present in newsrc. ADD. 'S'ubscribe pattern with -n may now work for groups not in newsrc yet (local spool with active file and/or RFC 3977 server only) ADD. config.guess, config.sub update ADD. lower 8bit check for Newsgroups, Followup-To and Distribution from error to warning ADD. prefer Xref- over Newsgroups-header if performing Message-ID lookups via NNTP ADD. lookup "DISTRIB.PATS" and use as default for Distribution ADD. lookup "DISTRIBUTIONS" descriptions and display if available ADD. evaluate To/Cc/Bcc in mailing_list-groups (debian bug #250317) ADD. cache connectioninfo and help pages during session once created ADD. show group-flag on check article page ADD. warn about moderated groups on check article page BUG. do not validated news_regex URIs with libcurl/liburiparser BUG. in NO_LOCALE config get_author() could write outside the allocated screen-memory BUG. positive getart_limit had several bugs BUG. -F was not mentioned in -h BUG. mixed up error-messages BUG. missing checks for empty string in From BUG. possible memleaks BUG. "posting" to mailgroups (mailing_list=) wasn't allowed if the group had one of the [jnx]-flags, and the moderated warning was given if it had the m-flag. BUG. double-free group-name on a 502 response to GROUP REM. ISO2ASC=6 (CP437) table REM. configure check for atoi() FIX. active.c, art.c, attrib.c, auth.c, charset.c, config.c, cook.c crc32.c, debug.c, feed.c, filter.c, getline.c, group.c, header.c help.c, init.c, keymap.c, lang.c, mail.c, main.c, memory.c, misc.c newsrc.c, nntplib.c, nntps.c, options_menu.c, page.c, pgp.c, post.c prompt.c, regex.c, rfc1524.c, rfc2045.c, rfc2047.c, save.c, screen.c search.c, select.c, signal.c, string.c, tags.c, thread.c, xref.c extern.h, nntplib.h, policy.h, proto.h, rfc2046.h, tin.h, tinrc.h parsdate.y, autoconf.h[in], tincfg.tbl, Makefile[.in] configure[.in], config.guess, config.sub, tin.[15] 025) Toomas Soome ADD. updated Estonian translation FIX. et.po