[Issue 3794] Phobos' socket.receive should assert on the length of the target array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 23 19:09:07 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3794
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thecybershadow at gmail.com
--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-08-23 19:09:04 PDT ---
It's probably too late to change this now. WONTFIX?
Also, it would probably have to be an enforce, not an assert.
By the way, the function already special-cased 0-length arrays, by always
returning 0 instead of passing it to the C socket function.
> A common mistake
Citation needed ;)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list