lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH 2.8.5-dev15] Misprint


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.5-dev15] Misprint
Date: Fri, 16 May 2003 17:52:59 -0700
User-agent: Mutt/1.4i

My experience shows that there are 3 orthogonal problems with the
patch implementing the new table row merge implementation.  This patch
fixes one (most "picturesque") of them (uninit read).

I'm pretty sure most people did not notice the other two yet.  ;-)

Sorry,
Ilya

--- ./src/TRSTable.c-as-sent    Sat May 10 13:26:22 2003
+++ ./src/TRSTable.c    Fri May 16 17:30:08 2003
@@ -2114,7 +2114,7 @@ PRIVATE int get_fixup_positions ARGS6(
        if ((me->cells[i].alignment == HT_CENTER ||
             me->cells[i].alignment == HT_RIGHT) &&
            me->cells[i].len > 0) {
-           newlen = sumcols[next_i].pos - newpos[ip] - 1;
+           newlen = sumcols[next_i].pos - sumcols[i].pos - offset - 1;
            newlen = HTMAX(newlen, sumcols[i].len);
            if (me->cells[i].len < newlen) {
                if (me->cells[i].alignment == HT_RIGHT) {

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]