Menu

#2299 (ok 2.9.2) Unzip encrypt detection bug

2.9.1
fixed
1
2013-06-11
2006-11-14
No

if flags (GPF) <> 0 in ZIP, raising error 'encrypt not
supported'.

lines 280-281 of unzip.lib.php contains that code:
----------------------------------
// Check if data is encrypted
$bE = ($aP['GPF'] && 0x0001) ? TRUE : FALSE;
----------------------------------

I think, instead of '&&' must be '&', else if flags
(GPF) <> 0, raising error 'encrypt not supported';

Discussion

  • Dmitry Ukolov

    Dmitry Ukolov - 2006-11-14

    sample zipped SQL file

     
  • Michal Čihař

    Michal Čihař - 2006-11-19
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2006-11-19
    • priority: 5 --> 1
    • summary: Unzip encrypt detection bug --> (ok 2.9.2) Unzip encrypt detection bug
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2006-11-19

    Logged In: YES
    user_id=192186
    Originator: NO

    Fixed in subversion, thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2007-01-16
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed