Commit 8d100c2
committed
fs: use consistent buffer array validation
This commit updates fs.writev() and fs.writevSync() to use the
same validation method as filehandle.writev().
PR-URL: #29186
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 3273d0e commit 8d100c2
1 file changed
+4
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 146 | | |
159 | 147 | | |
160 | 148 | | |
| |||
626 | 614 | | |
627 | 615 | | |
628 | 616 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
| 617 | + | |
633 | 618 | | |
634 | 619 | | |
635 | 620 | | |
| |||
647 | 632 | | |
648 | 633 | | |
649 | 634 | | |
650 | | - | |
651 | 635 | | |
652 | | - | |
653 | 636 | | |
654 | | - | |
| 637 | + | |
655 | 638 | | |
656 | | - | |
657 | | - | |
658 | | - | |
| 639 | + | |
659 | 640 | | |
660 | 641 | | |
661 | 642 | | |
| |||
0 commit comments