Skip to content

Commit

Permalink
Fix extra zero in hex chars causing wrong address display in mem dumps.
Browse files Browse the repository at this point in the history
Thanks to thoughtpolice for noticing.
  • Loading branch information
Daniel Knoppel (Phusion) committed Apr 24, 2015
1 parent f7dbbd1 commit bf22820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Release 5.0.7
* [Apache] If the installer fails to autodetect Apache while the installer is running as a normal user, it will now ask you to give it root privileges. Closes GH-1289.
* [Nginx] Introduces the `passenger_read_timeout` option for rare cases when server needs more than the default 10 minute timeout. Contributed by pkmiec. Closes [GH-PR-34](https://github.com/phusion/passenger/pull/34).
* [Nginx] The Nginx module now looks for index.html if the path ends in / so that it works intuitively, without needing to use try_files.
* Fixes wrong memory address display in crash dumps. Thanks to thoughtpolice for pointing it out.
* Fixes an ugly backtrace that would be shown if an invalid request is made to an application process using the private HTTP interface. Contributed by jbergler. Closes GH-1311.
* Various documentation improvements. Closes [GH-PR-1332](https://github.com/phusion/passenger/pull/1332), [GH-PR-1354](https://github.com/phusion/passenger/pull/1354), [GH-PR-1216](https://github.com/phusion/passenger/pull/1216), [GH-PR-1385](https://github.com/phusion/passenger/pull/1385), [GH-PR-1302](https://github.com/phusion/passenger/pull/1302).

Expand Down
2 changes: 1 addition & 1 deletion ext/common/agents/Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static bool _feedbackFdAvailable = false;
static const char digits[] = {
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
};
static const char hex_chars[] = "01234567890abcdef";
static const char hex_chars[] = "0123456789abcdef";

static bool shouldDumpWithCrashWatch = true;
static bool beepOnAbort = false;
Expand Down

0 comments on commit bf22820

Please sign in to comment.