You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Size used in read should be len (which we currently ignore), since were writing to data not our buffer.
Happily I think we only ever actually call this where data argument is the buffer (and len is it's size),
which would explain why this didn't break things at least sometimes xD.
Even so, this should probably get fixed anyway. Please 😇 (assuming folks agree with my analysis).
The text was updated successfully, but these errors were encountered:
dtzWill
added a commit
to dtzWill/nix
that referenced
this issue
May 21, 2018
nix/src/libutil/serialise.cc
Line 136 in f5a2136
Size used in read should be
len
(which we currently ignore), since were writing todata
not our buffer.Happily I think we only ever actually call this where
data
argument is the buffer (andlen
is it's size),which would explain why this didn't break things at least sometimes xD.
Even so, this should probably get fixed anyway. Please 😇 (assuming folks agree with my analysis).
The text was updated successfully, but these errors were encountered: