summaryrefslogtreecommitdiff
path: root/usr.bin/wall/Makefile
diff options
context:
space:
mode:
authoraschrijver <aschrijver@cvs.openbsd.org>2011-07-17 19:39:22 +0000
committeraschrijver <aschrijver@cvs.openbsd.org>2011-07-17 19:39:22 +0000
commitd923b4b88f795933bd6165856e848abc5bbcd161 (patch)
tree93cffe4649feb2289d69427a401acef489c916a9 /usr.bin/wall/Makefile
parentf41811c1c5869cc73387febc80fcda3fa01eefea (diff)
Fix an integer overflow for very long lines by replacing the datatype of 2 offsets from int to regoff_t.
Bail if the given size_t line length doesn't fit into the new regoff_t. "I don't think you will ever be able to get a string longer than SSIZE_MAX into memory, but that looks good." tedu@ "Agreed" otto@ regoff_t suggested by otto@
Diffstat (limited to 'usr.bin/wall/Makefile')
0 files changed, 0 insertions, 0 deletions