[tin-dev] [tin 2.6.5] snapshots
Urs Janßen
urs at tin.org
Sat Oct 4 11:26:40 CEST 2025
In Urs Janßen <urs at tin.org> wrote:
> New Snapshots available, mainly bugfixes:
fix for a possible null pointer dereference on aborted (<ESC>)
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))
More information about the tin-dev
mailing list