[Bug 1287726] [NEW] Wrong evaluation whether json is valid or not

2015-10-16 Thread Launchpad Bug Tracker
You have been subscribed to a public bug by Robie Basak (racb):

# php -r 'var_dump(json_decode("\"\xff\""));'
string(1) "�"

Should be:

# php -r 'var_dump(json_decode("\"\xff\""));'
NULL


Since a large (and growing) number of services use JSON for communication, it's 
quite bad.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-json 1.3.2-2build1
ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
Uname: Linux 3.13.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Tue Mar  4 14:34:43 2014
Ec2AMI: ami-8df705fa
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-1b
Ec2InstanceType: c3.xlarge
Ec2Kernel: aki-52a34525
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: php-json
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: php-json (Ubuntu)
 Importance: Medium
 Status: Triaged


** Tags: amd64 apport-bug ec2-images trusty
-- 
Wrong evaluation whether json is valid or not
https://bugs.launchpad.net/bugs/1287726
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to the bug report.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1287726] [NEW] Wrong evaluation whether json is valid or not

2014-03-04 Thread Mads Martin Jørgensen
Public bug reported:

# php -r 'var_dump(json_decode(\\xff\));'
string(1) �

Should be:

# php -r 'var_dump(json_decode(\\xff\));'
NULL


Since a large (and growing) number of services use JSON for communication, it's 
quite bad.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-json 1.3.2-2build1
ProcVersionSignature: Ubuntu 3.13.0-15.35-generic 3.13.5
Uname: Linux 3.13.0-15-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Tue Mar  4 14:34:43 2014
Ec2AMI: ami-8df705fa
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-1b
Ec2InstanceType: c3.xlarge
Ec2Kernel: aki-52a34525
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: php-json
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: php-json (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug ec2-images trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php-json in Ubuntu.
https://bugs.launchpad.net/bugs/1287726

Title:
  Wrong evaluation whether json is valid or not

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-json/+bug/1287726/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs