Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Leda > Re: Problem res...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 175 of 212
Post > Topic >>

Re: Problem resolved !

by "Rossel Nathanaël" <nathanael.rossel@[EMAIL PROTECTED] > Nov 8, 2004 at 04:18 PM

The problem has been resolve. They was a malloc(8) in an other function and
a strcpy with 9 character ('\0').

"Rossel Nathanaël" <nathanael.rossel@[EMAIL PROTECTED]
> a écrit dans le message
de
news:418f44bd$1_2@[EMAIL PROTECTED]
> 146:    unsigned short *sDate;
> 147:
> 148:    sDate = (unsigned short *)malloc(100);
> 17E4157C 6A 64                push        64h
> 17E4157E E8 05 4C 00 00       call        malloc (17e46188)
> 17E41583 83 C4 04             add         esp,4
> 17E41586 89 45 FC             mov         dword ptr [sDate],eax
>
>
> When running only the line 17E4157E (malloc), I get next error :
>
> First Chance Exception in : 0xC0000005: Access Violation
>
>
 




 2 Posts in Topic:
Access violation - Malloc problem
"Rossel Nathanaël&qu  2004-11-08 11:06:29 
Re: Problem resolved !
"Rossel Nathanaël&qu  2004-11-08 16:18:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Jul 8 23:03:12 CDT 2008.