@Triode,

Not sure if this matters, but in line 100 of jive_debug.c, the author of
the code probably meant to dereference the pointer hd in order to get
the size of the structure rather than the size of the pointer itself.

Code:
--------------------
    
  memset(hd, 0, sizeof(hd));
  
--------------------

should probably be changed to:

Code:
--------------------
    
  memset(hd, 0, sizeof(*hd));
  
--------------------


Probably this is how Logitech left it, but still could be worth fixing
in your Git repo?



----------------------
"Dreamer, easy in the chair that really fits you..."
------------------------------------------------------------------------
dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=98544

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to