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

Fix error in osmcallback hook #6106

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Fix error in osmcallback hook #6106

merged 1 commit into from
Sep 23, 2023

Conversation

gayyappan
Copy link
Contributor

The callback hook should use the old pointer instead of the new. This causes a segfault when ptr is NULL.

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #6106 (973117d) into main (683e2bc) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #6106      +/-   ##
==========================================
- Coverage   81.52%   81.47%   -0.06%     
==========================================
  Files         246      246              
  Lines       56777    56731      -46     
  Branches    12588    12569      -19     
==========================================
- Hits        46288    46221      -67     
+ Misses       8103     8099       -4     
- Partials     2386     2411      +25     
Files Changed Coverage Δ
src/osm_callbacks.c 60.00% <0.00%> (ø)

... and 45 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gayyappan gayyappan marked this pull request as ready for review September 22, 2023 04:06
@gayyappan gayyappan requested a review from svenklemm September 22, 2023 04:07
@github-actions github-actions bot requested review from akuzm and mahipv September 22, 2023 04:07
@github-actions
Copy link

@akuzm, @mahipv: please review this pull request.

Powered by pull-review

@gayyappan gayyappan requested review from zilder and removed request for akuzm and mahipv September 22, 2023 04:07
The callback hook should use the old pointer instead of the new.
This causes a segfault when ptr is NULL.
@jnidzwetzki
Copy link
Contributor

@gayyappan Is it possible to trigger this bug reliably (i.e., could you provide a test case?)

@gayyappan gayyappan enabled auto-merge (rebase) September 23, 2023 12:34
@gayyappan gayyappan merged commit 887f538 into timescale:main Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants