7 Bug-Reported-by: Gregory Margo <gmargo@pacbell.net>
8 Bug-Reference-ID: <20110727174529.GA3333@pacbell.net>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-07/msg00102.html
13 The return value from lseek is `off_t'. This can cause corrupted return
14 values when the file offset is greater than 2**31 - 1.
16 Patch (apply with `patch -p0'):
18 *** ../bash-4.2-patched/lib/sh/zread.c Mon Mar 2 08:54:45 2009
19 --- lib/sh/zread.c Thu Jul 28 18:16:53 2011
36 r = lseek (fd, -off, SEEK_CUR);
42 r = lseek (fd, -off, SEEK_CUR);
47 *** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
48 --- patchlevel.h Thu Feb 24 21:41:34 2011
51 looks for to find the patch level (for the sccs version string). */
53 ! #define PATCHLEVEL 21
55 #endif /* _PATCHLEVEL_H_ */
57 looks for to find the patch level (for the sccs version string). */
59 ! #define PATCHLEVEL 22
61 #endif /* _PATCHLEVEL_H_ */