Random C issue, was (Re: [vorbis-dev] getting playback length from ogg vorbis file)
Kenneth C. Arnold
kcarnold at arnoldnet.net
Tue Jul 15 13:48:31 PDT 2003
Jack Angel wrote:
>i'm talking about stack corruption
>does double get coerced to int?
>if so, 4 bytes are pushed to the stack
>what code does this implicit definition contain?
>e.g., does it return something at all? or only pops args back?
>if it pops, doesn't it pop 4 bytes?
>i don't see why the stack gets corrupted
>why do you think such thing got in the standard?
>i mean, what's useful in such dangerous things?
>
True (I guess); I had forgotten about coercion with the comment about
the stack. But anyway, we've wandered quite far from Vorbis development.
Ask further on comp.lang.c (guessing) if you're curious, and until then,
compile with -Wall.
Ken
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list