On Sun, Mar 13, 2011 at 06:14:49PM +0200, Eugene N scratched on the wall:

> uchar* pblah[1];

> pblah[0] = (uchar*)malloc(10);
> pblah[1] = (uchar*)malloc(10);   // notice the order

> Any ideas why?

  Because pblah is a *one*-element array.

    -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Intelligence is like underwear: it is important that you have it,
 but showing it to the wrong people has the tendency to make them
 feel uncomfortable." -- Angela Johnson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to