aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/rasp.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-14sam: avoid out-of-bounds read in rtermRuss Cox1-2/+2
Usually r->nused < r->nalloc and the read is in bounds. But it could in theory be right on the line and reading past the end of the allocation. Make it safe but preserve as much of the old semantics as possible. This use of rterm appears to be only for optimization purposes so the result does not matter for correctness.
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-1/+0
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2007-01-12change namersc1-2/+2
2007-01-12Fix 15-year-old sam protocol bug.rsc1-1/+16
2006-04-2064-bit fixesrsc1-1/+1
2003-09-30Reorgrsc1-11/+11
2003-09-30Initial revisionrsc1-0/+325