Changeset 21f58438e96a63e117fd1572d8715e71adad9dc8

Show
Ignore:
Timestamp:
20/02/07 18:28:20 (2 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1171992500 +0000
git-parent:

[72c7ddfb9ad5f3b3d6ff0304f0cc25ae0721f51e]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1171992500 +0000
Message:

Fix crash in SDP parser

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/services_discovery/sap.c

    r85ff146 r21f5843  
    12671267                if (cat == 'c') 
    12681268                { 
    1269                     struct sdp_media_t *m = p_sdp->mediav + p_sdp->mediac
     1269                    struct sdp_media_t *m = p_sdp->mediav + p_sdp->mediac - 1
    12701270                    if (ParseSDPConnection (data, &m->addr, &m->addrlen, 
    12711271                                            &m->n_addr))