Re: Are WAV files dangerous?

pgx_at_pgrahams.com
Date: 08/25/04


Date: Wed, 25 Aug 2004 19:38:23 GMT

unruh@string.physics.ubc.ca (Bill Unruh) wrote:

|Well, no. A .wav file has a very definite format. The header is a fixed
|length header and the rest is pure data.

Not true. The .wav file can contain many chunks that vary in length.
See:

http://www.borg.com/~jglatt/tech/wave.htm

Note that if any of the chunks is processed in a buffer that is not
long enough, problems can result. The chunks are all defined with a
length field, but if not properly used, an overflow could result.

Phil



Relevant Pages

  • Re: Are WAV files dangerous?
    ... The header is a fixed ... |length header and the rest is pure data. ... The .wav file can contain many chunks that vary in length. ...
    (alt.computer.security)
  • Re: sampling a wav file
    ... It's very easy to extract data from a PCM wav file, once you are familiar with the structure. ... Wav files are based on the Resource Interchange File Format, which is a generalized tagged file format built up of labelled "chunks". ... Another nasty little gotcha is that the FORMAT chunk of a RIFF file can legally contain several bytes of extra application-specific parameters tacked on the end of the fmt sub-chunk, preceded by a two-byte integer defining the number of extra bytes. ...
    (comp.dsp)
  • Re: Wave File Header Size
    ... The 'data' string doesn't happen to 0x52. ... found say that the wave header says that it should be 44 bytes. ... The file format permits optional chunks. ...
    (microsoft.public.win32.programmer.mmedia)
  • test for browser vulnerability
    ... If I use an actual .wav file, readme.eml is opened from the web page and the ... (Content-Type: audio/x-wav), I am prompted as to whether I would like to ... Attache notepad.exe. ... Add the following header: ...
    (Incidents)
  • Re: Cartridge files converting back to .ROM/.BIN ? How ?
    ... Peter Dassow (remove the NOSPAM. ... greater than 16KB typically have chunks, means 2KB or 4KB blocks, ... Vindicators, which has 64KB, and there is *not* only a header first. ... bank switching was made via software to move between each of them. ...
    (comp.sys.cbm)