segment: reorder seg_write_header allocation
As pointed by Paul B Mahol <onemda@gmail.com> the previous code could lead to null pointer dereference.
Showing
Please
register
or
sign in
to comment
As pointed by Paul B Mahol <onemda@gmail.com> the previous code could lead to null pointer dereference.