make the struct fw_crom_buf's len uint32_t, so that it can never be negative
the real fix to http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0261.html
This commit is contained in:
parent
4bfbbae383
commit
8c96a4b6ac
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: firewire.h,v 1.2 2005/12/11 12:22:02 christos Exp $ */
|
/* $NetBSD: firewire.h,v 1.3 2006/11/16 15:59:28 jdolecek Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2003 Hidetoshi Shimokawa
|
* Copyright (c) 2003 Hidetoshi Shimokawa
|
||||||
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
|
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
|
||||||
|
@ -376,7 +376,7 @@ struct fw_speed_map {
|
||||||
|
|
||||||
struct fw_crom_buf {
|
struct fw_crom_buf {
|
||||||
struct fw_eui64 eui;
|
struct fw_eui64 eui;
|
||||||
int len;
|
uint32_t len;
|
||||||
void *ptr;
|
void *ptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue