1debe1993f
awkgetline: do not access unitialized data on EOF getrec() returns 0 on EOF and leaves the contents of buf unchanged. Fixes#133.
Todd C. Miller
2021-11-01 11:58:54 -06:00
275a80ff33
Heap buffer overflow from PR #83 fixed in #121
ozan yigit
2021-10-12 00:06:51 -04:00
45dab2a7e0
awk: Make -F '' and -v FS="" behave the same
Warner Losh
2021-07-19 22:47:30 -06:00
92f9e8a9be
Fix readrec's definition of a record
Miguel Pineiro Jr
2021-04-23 02:13:33 -04:00
feaf62d159
Fix regular expression RS ^-anchoring
Miguel Pineiro Jr
2021-04-16 20:31:36 -04:00
d54b703cae
Fix size computation in replace_repeat() for special_case REPEAT_WITH_Q. This resulted in the NUL terminator being written to the end of the buffer which was not the same as the end of the string. That in turn caused garbage bytes from malloc() to be processed. Also change the NUL termination to be less error prone by writing the NUL immediately after the last byte copied.
Todd C. Miller
2021-03-02 12:58:50 -07:00
c0f4e97e45
Fix compiling with g++.
Arnold D. Robbins
2021-02-15 20:33:15 +02:00
178f660b5a
Change T.errmsg print to file fail test.
ozan s. yigit
2021-01-10 15:24:37 -05:00
1fd5fa38cc
Fix a decision bug with trailing stuff in lib.c:is_valid_number after dec 18 changes. updated FIXES, adjusted version date.
ozan s. yigit
2021-01-06 18:37:48 -05:00
7d1848cfa6
Merge branch 'staging' for README.md
ozan s. yigit
2020-12-25 16:55:02 -05:00
fdc0388333
updated: new maintainer
ozan s. yigit
2020-12-25 16:53:55 -05:00
8909e00b57
Inf and NaN values fixed and printing improved. "This time for sure!"
Arnold D. Robbins
2020-12-18 11:57:48 +02:00
982a574e32
Update FIXES and version.
Arnold D. Robbins
2020-12-15 14:49:18 +02:00
38e525fb7b
Include <strings.h> for strcasecmp (#99)
Michael Forney
2020-12-15 04:46:30 -08:00
6535bd6c35
Update FIXES and version in main.c.
Arnold D. Robbins
2020-12-08 09:20:58 +02:00
cc9e9b68d1
Rework floating point conversions. (#98)
Arnold Robbins
2020-12-08 08:05:22 +02:00
e508d2861c
Update version and FIXES.
Arnold D. Robbins
2020-12-03 19:33:11 +02:00
feb247a852
Don't print extra newlines on error before awk starts parsing. (#97)
Todd C. Miller
2020-12-03 10:30:36 -07:00
a2a41a8e35
Add .TF macro to man page. Closes Issue #96.
Arnold D. Robbins
2020-11-24 19:14:26 +02:00
3b42cfaf73
Make it compile with g++.
Arnold D. Robbins
2020-10-13 20:52:43 +03:00
9804285af0
Additional fixes for DJGPP.
Arnold D. Robbins
2020-08-16 18:48:05 +03:00
9c63cb6ccd
Update FIXES and version in main.c.
Arnold D. Robbins
2020-08-07 13:15:17 +03:00
b785141019
printf: The argument p shall be a pointer to void. (#93)
Chris
2020-08-07 18:10:20 +08:00
1b3984634f
Fix Issue #92; see FIXES.
Arnold D. Robbins
2020-08-04 10:02:26 +03:00
9b80a7c137
Update version and FIXES.
Arnold D. Robbins
2020-07-30 17:15:58 +03:00
07f0438423
Move exclusively to bison as parser generator.
Arnold D. Robbins
2020-07-30 17:12:45 +03:00
453ce8642b
Avoid accessing pfile[] out of bounds on syntax error at EOF. (#90)
Todd C. Miller
2020-07-29 12:31:29 -06:00
e22bb7c625
Fix the T.errmsg test (#91)
Tim van der Molen
2020-07-29 20:29:46 +02:00
22ee26b925
Cast to uschar when storing a char in an int that will be used as an index (#88)
Todd C. Miller
2020-07-29 12:27:45 -06:00
b82b649aa6
Avoid using stdio streams after they have been closed. (#89)
Todd C. Miller
2020-07-27 01:03:58 -06:00
2a4146ec30
Add a note about low-level maintenance.
Arnold D. Robbins
2020-07-02 21:39:56 +03:00
b2554a9e3d
Add regression script for bugs-fixed directory.
Arnold D. Robbins
2020-07-02 21:35:06 +03:00
ee5b49bb33
Fix regression with changed SUBSEP in subscript (#86)
Tim van der Molen
2020-07-02 20:22:15 +02:00
cc19af1308
Fix concatenation regression (#85)
Tim van der Molen
2020-07-02 20:21:10 +02:00
f232de85f6
Update FIXES and date in main.c.
Arnold D. Robbins
2020-06-25 21:36:24 +03:00
0f25df0619
Merge branch 'staging'
Arnold D. Robbins
2020-06-25 21:34:50 +03:00