On Thu, 26 Oct 2000 17:15:30 Marc Schneider wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Marc Schneider wrote:
> > >
> > > msgsnd seems to be corrupting memory around the msgbuf pointer.
> > >
> > > for example I have the following code:
> > >
> > > pMsgBuf = malloc(iPacketLen + 4 + 8);
> > > bzero
[EMAIL PROTECTED] wrote:
>
> Marc Schneider wrote:
> >
> > msgsnd seems to be corrupting memory around the msgbuf pointer.
> >
> > for example I have the following code:
> >
> > pMsgBuf = malloc(iPacketLen + 4 + 8);
> > bzero(pMsgBuf, iPacketLen + 4 + 8);
> > pMsgBuf += 4; /* Build a guard band *
Marc Schneider wrote:
>
> msgsnd seems to be corrupting memory around the msgbuf pointer.
>
> for example I have the following code:
>
> pMsgBuf = malloc(iPacketLen + 4 + 8);
> bzero(pMsgBuf, iPacketLen + 4 + 8);
> pMsgBuf += 4; /* Build a guard band */
>
> printf("PMQ:pMsgBuf: %p\n",pMsgBuf);
msgsnd seems to be corrupting memory around the msgbuf pointer.
for example I have the following code:
pMsgBuf = malloc(iPacketLen + 4 + 8);
bzero(pMsgBuf, iPacketLen + 4 + 8);
pMsgBuf += 4; /* Build a guard band */
printf("PMQ:pMsgBuf: %p\n",pMsgBuf);
printf("PMQ:-4: %p\n", *(pMsgBuf-4));
rc
4 matches
Mail list logo