This commit specifies the integer width explicitly to match result_header_ext etc.

also, can someone explain to me why `send_status_and_crc` does not need
to set `_pad` to prevent leaking stack memory in the responses?
This commit is contained in:
Your Name 2017-11-20 02:40:35 +01:00
parent 19cb61a0ed
commit a96fe7203e

View File

@ -35,13 +35,13 @@
#include <sys/types.h> #include <sys/types.h>
struct file_header { struct file_header {
unsigned int namelen; uint32_t namelen;
unsigned int mode; uint32_t mode;
unsigned long long filelen; uint64_t filelen;
unsigned int atime; uint32_t atime;
unsigned int atime_nsec; uint32_t atime_nsec;
unsigned int mtime; uint32_t mtime;
unsigned int mtime_nsec; uint32_t mtime_nsec;
}; };
struct result_header { struct result_header {