os_execd

* fix compiler warnings
* tighten function headers
* fix CID 28574 (not null terminating char array)
* fix memory leak ( strdup-ing the key to OSHash_Add() )