Bug 2039

Summary: LinuxSocketImpl::RecvFrom uses fixed size buf and ignores maxSize
Product: dce Reporter: Manuel Rüger <mrueg>
Component: otherAssignee: Hajime Tazaki <tazaki>
Status: REOPENED ---    
Severity: trivial CC: ns-bugs
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   

Description Manuel Rüger 2015-01-15 22:15:49 EST
In model/linux/linux-socket-impl.cc

Ptr<Packet>
LinuxSocketImpl::RecvFrom (uint32_t maxSize, uint32_t flags,
                           Address &fromAddress)
{
NS_LOG_FUNCTION (this << maxSize << flags);
uint8_t buf[4096];
Comment 1 Hajime Tazaki 2015-01-16 01:15:07 EST
thanks for the report. fixed in fa2f8ac31f8c.
Comment 2 Hajime Tazaki 2015-01-16 10:48:08 EST
reverted the changes due to an error in short memory. will be back.