From 8ce230959ce99e02da84f1d1fba76c78eafce3f3 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 22 Nov 2003 13:54:38 -0500 Subject: [PATCH] com_err.h: Retore the type of n_msgs in the error_table structure to "int" from "unsigned int" fix a core dumping bug in the com_right() function. (Addresses Debian bug #213450) --- lib/et/ChangeLog | 7 +++++++ lib/et/com_err.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/et/ChangeLog b/lib/et/ChangeLog index 7b4a8ba..91a4752 100644 --- a/lib/et/ChangeLog +++ b/lib/et/ChangeLog @@ -1,3 +1,10 @@ +2003-11-22 Theodore Ts'o + + * com_err.h: Retore the type of n_msgs in the error_table + structure to "int" from "unsigned int" fix a core dumping + bug in the com_right() function. (Addresses Debian bug + #213450) + 2003-08-20 Theodore Ts'o * Makefile.in: Delete com_err.info on a make clean diff --git a/lib/et/com_err.h b/lib/et/com_err.h index 1f34372..60494c2 100644 --- a/lib/et/com_err.h +++ b/lib/et/com_err.h @@ -17,7 +17,7 @@ typedef long errcode_t; struct error_table { char const * const * msgs; long base; - unsigned int n_msgs; + int n_msgs; }; struct et_list; -- 1.8.3.1