[Issue 3794] Phobos' socket.receive should assert on the length of the target array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 15 15:12:32 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=3794


Stanislav Blinov <stanislav.blinov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.blinov at gmail.com


--- Comment #3 from Stanislav Blinov <stanislav.blinov at gmail.com> 2014-02-15 15:12:30 PST ---
(In reply to comment #2)
> I propose we close this as WONTFIX. As Vladimir says, the function handles it
> safely, and there may be code out there relying on this.
> 
> If there are no objections within a week, I'll close it.

I agree.

The function signature already indicates that no resizing is performed (it's
void[], not ref void[]), so the assumption itself is unsubstantiated.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list