Displaying 4 results from an estimated 4 matches for "uninitialzed".
Did you mean:
uninitialized
2006 May 14
0
Rails] Re: Mac OS X and Uninitialzed Constant Mysql
Thanks for the reply, Mick. I do the have the database connection
params set correctly in config/database.yml. I stumbled across the
following post (http://www.elharo.com/blog/category/software-
development/databases/), and the suggestion was to change the mysql
version from 64-bit to 32-bit (the mysql.com downloads). I did, and
it works as expected now. As the mysql gem is compiled
2006 May 14
3
Mac OS X and Uninitialzed Constant Mysql
Development Platform:
ruby 1.8.4
Rails 1.1.2
mysql "gem" 2.7
Mac OS X (10.4.6), 64-bit
Mysql 5.0.19-standard (64-bit)
Lighttpd, 1.4.11
I''m trying to startup a simple test rails app against mysql. Rails
starts up fine and my pages render successfully, until a DB access is
made. I''m getting a "uninitialized constant Mysql". I''ve searched,
but
2007 Apr 18
2
[PATCH 3/6] i386 virtualization - Make ldt a desc struct
...LDT_ENTRY_SIZE;
> + size = mm->context.ldt_pages*PAGE_SIZE;
> if (size > bytecount)
> size = bytecount;
This now looks like you can leak data? Since full page is unlikely
used, but accounting is done in page sizes. Asking to read_ldt with
bytcount of PAGE_SIZE could give some uninitialzed data back to user.
Did I miss the spot where this is always zero-filled?
> @@ -166,6 +167,7 @@
> __u32 entry_1, entry_2;
> int error;
> struct user_desc ldt_info;
> + int page_number;
>
> error = -EINVAL;
> if (bytecount != sizeof(ldt_info))
> @@ -184,10 +186...
2007 Apr 18
2
[PATCH 3/6] i386 virtualization - Make ldt a desc struct
...LDT_ENTRY_SIZE;
> + size = mm->context.ldt_pages*PAGE_SIZE;
> if (size > bytecount)
> size = bytecount;
This now looks like you can leak data? Since full page is unlikely
used, but accounting is done in page sizes. Asking to read_ldt with
bytcount of PAGE_SIZE could give some uninitialzed data back to user.
Did I miss the spot where this is always zero-filled?
> @@ -166,6 +167,7 @@
> __u32 entry_1, entry_2;
> int error;
> struct user_desc ldt_info;
> + int page_number;
>
> error = -EINVAL;
> if (bytecount != sizeof(ldt_info))
> @@ -184,10 +186...