Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexEscapeChar: restore stream #1489

Merged
merged 1 commit into from
Jan 10, 2019
Merged

Conversation

ax3l
Copy link
Contributor

@ax3l ax3l commented Jan 7, 2019

Description

The ostream passed as reference to hexEscapeChar is manipulated and its original state not restored. This is an unexpected side effect and now fixed.

Seen via coverity in a downstream project.

The ostream passed as reference to `hexEscapeChar` is manipulated
and its original state not restored. This fixes it.

Seen via coverity in a downstream project.
@codecov
Copy link

codecov bot commented Jan 7, 2019

Codecov Report

Merging #1489 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1489      +/-   ##
=========================================
- Coverage   80.42%   80.4%   -0.02%     
=========================================
  Files         121     121              
  Lines        3421    3428       +7     
=========================================
+ Hits         2751    2756       +5     
- Misses        670     672       +2

1 similar comment
@codecov
Copy link

codecov bot commented Jan 7, 2019

Codecov Report

Merging #1489 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1489      +/-   ##
=========================================
- Coverage   80.42%   80.4%   -0.02%     
=========================================
  Files         121     121              
  Lines        3421    3428       +7     
=========================================
+ Hits         2751    2756       +5     
- Misses        670     672       +2

@horenmar
Copy link
Member

Thanks

@horenmar horenmar merged commit 188b3e6 into catchorg:master Jan 10, 2019
@ax3l ax3l deleted the fix-streamRestore branch January 10, 2019 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants