Comments (1)
No this is actually no typo. It was a mistake in older Suhosin versions (however it had no impact).
Theoretically suhosin filter filters the variable before this line. So suhosin filter COULD have changed the value and therefore its length. Therefore using new_val_len here (which is the output of the suhosin filter) is the right behaviour.
HOWEVER: Suhosin does not change the length of the variable and therefore the mistake in the old code had no impact at all. I have corrected the error nevertheless, because it was wrong and would cause problems if Suhosin ever changed its behaviour.
from suhosin.
Related Issues (20)
- Handling cookies set on clientside when using encryption HOT 4
- Incompatibility with pcs ext. HOT 3
- Disable or uninstall Suhosin? 404 for everything HOT 1
- Loadable extension for HHVM HOT 1
- Too long syslog line HOT 2
- Ini section HOT 4
- filter HTTP_PROXY HOT 2
- disable URL-based sessions HOT 5
- suhosin should not restrict on cli access HOT 4
- Revive the php < 5.4 support HOT 6
- View log in system with systemd HOT 1
- Segmentation fault with enabled suhosin HOT 1
- http://download.suhosin.org is not acting properly HOT 1
- /suhosin.c:35:10: fatal error: 'php_logos.h' file not found HOT 1
- Apache24 segfault when OPcache + Suhosin are enabled HOT 6
- HTTPS certificate expired on suhosin.org HOT 3
- Repository key expired HOT 2
- ini priority for debian/ubuntu HOT 1
- PHP 5.6 with empty POST array HOT 7
- Need to disable suhosin for one Directory ( live chat ) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suhosin.