[Nut-upsdev] [nut-commits] svn commit r1074 - in trunk: .

Arjen de Korte nut+devel at de-korte.org
Tue Sep 4 18:41:05 UTC 2007


Peter Selinger wrote:

>> It *is* a question of predictability. 
> 
> Of course it is. What I meant is: who cares about predictability if
> your driver segfaults? That seems to me to be a more serious issue.

Maybe I'm just thick-headed, but I fail to see why the driver would
segfault if the information in the report descriptor is wrong. It might
try to read feature reports that no longer exist, but this doesn't lead
to segfaults (I tried this a couple of weeks ago on my Evolution 650).
Note that until r1080, there was a dangerous use of un-initialized data
that could easily lead to segfaults, so make sure you use a recent
version if you want to try this out.

Best regards, Arjen



More information about the Nut-upsdev mailing list