Recherche avancée

Médias (91)

Autres articles (67)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (9051)

  • Anomalie #4465 : Table principale enlevée de la requête sur double jointure avec mots et auteurs

    24 mars 2020

    Avec #TITRE

    1. <span class="CodeRay"><span class="class">SELECT</span> depots.id_depot, depots.titre
    2. <span class="keyword">FROM</span> spip_depots <span class="keyword">AS</span> <span class="string"><span class="delimiter">`</span><span class="content">depots</span><span class="delimiter">`</span></span>  
    3. <span class="keyword">INNER</span> <span class="keyword">JOIN</span> spip_mots_liens <span class="keyword">AS</span> L1 <span class="keyword">ON</span> ( L1.id_objet = depots.id_depot <span class="keyword">AND</span> L1.objet=<span class="string"><span class="delimiter">'</span><span class="content">depot</span><span class="delimiter">'</span></span>)
    4. <span class="keyword">WHERE</span> (L1.id_mot = <span class="integer">1</span>)
    5. <span class="keyword">GROUP</span> <span class="keyword">BY</span> depots.id_depot
    6. </span>

    Télécharger

    Sans #TITRE

    1. <span class="CodeRay"><span class="class">SELECT</span> L1.id_objet, L1.id_objet <span class="keyword">AS</span> id_depot
    2. <span class="keyword">FROM</span> spip_mots_liens <span class="keyword">AS</span> <span class="string"><span class="delimiter">`</span><span class="content">L1</span><span class="delimiter">`</span></span>  
    3. <span class="keyword">WHERE</span> (L1.id_mot = <span class="integer">1</span>)
    4. <span class="keyword">GROUP</span> <span class="keyword">BY</span> L1.id_objet
    5. </span>

    Télécharger

    En fait le AND L1.objet='depot' qui saute est dans la clause ON de la jointure, qui n’a plus lieu d’être avec l’optimisation. Peut être que ça vient de là son absence.

  • Anomalie #4465 : Table principale enlevée de la requête sur double jointure avec mots et auteurs

    24 mars 2020

    Une partie se passe dans fabrique_jointure() : le where complémentaire (L1.objet = 'depot') n’est pas ajouté volontairement et laissé dans la jointure
    https://git.spip.net/spip/spip/src/branch/master/ecrire/public/jointures.php#L174

    L’autre partie doit se situer sur les optimisations dans calculer_select() par là :
    https://git.spip.net/spip/spip/src/branch/master/ecrire/public/composer.php#L932

  • avcodec/cbs : Fix potential double-free when adding unit fails

    18 novembre 2019, par Andreas Rheinhardt
    avcodec/cbs : Fix potential double-free when adding unit fails
    

    ff_cbs_insert_unit_data() has two modes of operation : It can insert a
    unit with a newly created reference to an already existing AVBuffer ; or
    it can take a buffer and create an AVBuffer for it. Said buffer will
    then become owned by the unit lateron.

    A potential memleak/double-free exists in the second case, because if
    creating the AVBuffer fails, the function immediately returns, but when
    it fails lateron, the supplied buffer will be freed. The caller has no
    way to distinguish between these two outcomes. The only such caller
    (cbs_jpeg_split_fragment() in cbs_jpeg.c) opted for a potential
    double-free.

    This commit changes this by explicitly stating that a non-refcounted
    buffer will be freed on error. The aforementioned caller has been
    brought in line with this.

    Fixes CID 1452623.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/cbs.c
    • [DH] libavcodec/cbs.h
    • [DH] libavcodec/cbs_jpeg.c