|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] libxc/load_aou9.c signness fix gcc4
another gcc sign fix.
This fix is bad. The proper fix is to add a cast.
An unsigned buffer will result in incorrect extraction
of big-endian values.
-struct Exec *get_header(unsigned char *, unsigned long, struct Exec *);
+struct Exec *get_header(char *, unsigned long, struct Exec *);
struct Exec *
get_header(
- unsigned char *image,
+ char *image,
unsigned long image_size,
struct Exec *ehdr)
Jerone Young
jyoung5@xxxxxxxxxx
Tim Newsham
http://www.lava.net/~newsham/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|