Christoph Biedl <debian.a...@manchmal.in-ulm.de> writes:

> My first idea was to check for "Using 32bit time_t in a packed
> structure", something a C compiler could warn about - assuming
> on-disk/wire format data is handled in C structs, and omitting the
> "packed" attribute should have created trouble years ago.

I'm not sure that last assumption is a good one.  INN writes C structs
directly to disk without the packed attribute and has never had problems
due to that.  (To be clear, this is definitely a bad approach; I didn't
know better when I wrote my contribution to the problem, but do now.  But
it means that looking for packed won't find one case of this that I know
exists.)

-- 
Russ Allbery (r...@debian.org)              <https://www.eyrie.org/~eagle/>

Reply via email to