Plugin Directory


Opened 4 years ago

Closed 4 years ago

#2051 closed defect (duplicate)

Shortcodes: [Bandcamp Module] Bug about album id

Reported by: rambu Owned by: tmoorewp
Priority: normal Severity: major
Plugin: jetpack Keywords: shortcodes bandcamp has-patch upstream
Cc: jeremy+wp@…, richard@…


The int parse in line 62 of /modules/shortcodes/bandcamp.php will return an invalid album id

$album = (int) $attributes['album'];

E.g: with album=2808536179 will return 2147483647

Attachments (1)

bandcamp.diff (381 bytes) - added by rambu 4 years ago.

Download all attachments as: .zip

Change History (5)

@rambu4 years ago

comment:1 @jeherve4 years ago

  • Cc jeremy+wp@… added
  • Keywords shortcodes bandcamp has-patch upstream added
  • Priority changed from high to normal
  • Severity changed from normal to major
  • Summary changed from [Bandcamp Module] Bug about album id to Shortcodes: [Bandcamp Module] Bug about album id

comment:2 @richardmtl4 years ago

  • Cc richard@… added

comment:3 @Ruxton4 years ago

the exact same problem occurs a few lines above when casting the track id to int.

comment:4 @jeherve4 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.