vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Wed, Apr 02, 2008 at 03:31:23AM -0600, Tobias Weingartner wrote: > On Tuesday, April 1, mickey wrote: > > > > http://mickey.lucifier.net/himem.sys > > There seems to be a bug in the code. In particular, this part > seems somewhat bogus: > > + case REQUEST_SENSE: > + bzero(&sd, sizeof(sd)); > + sd.error_code = 0x70; > + sd.segment = 0; > + sd.flags = SKEY_NO_SENSE; > + *(u_int32_t*)sd.info = htole32(0); > > First you clear 'sd' to all zeros. Then you take sd.info (which > is all zero's) as a pointer, and dereference it, and then stick > a nice htole'd zero into it. perhaps it's not used -- i'll delete it! cu -- paranoic mickey (my employers have changed but, the name has remained) |