summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-07-06 13:32:02 +1000
committerDarren Tucker <dtucker@dtucker.net>2018-07-06 13:32:02 +1000
commit872517ddbb72deaff31d4760f28f2b0a1c16358f (patch)
tree1939ac91eba31eca9a690342223fa9930b7795b8 /openbsd-compat/bsd-misc.c
parent3deb56f7190a414dc264e21e087a934fa1847283 (diff)
Defer setting bufsiz in getdelim.
Do not write to bufsiz until we are sure the malloc has succeeded, in case any callers rely on it (which they shouldn't). ok djm@
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
0 files changed, 0 insertions, 0 deletions