Bug 4775 - revsbetween implementation in C does not handle wdir
Summary: revsbetween implementation in C does not handle wdir
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: revset (show other bugs)
Version: default branch
Hardware: PC Linux
: urgent bug
Assignee: Bugzilla
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-08-13 03:41 UTC by Pierre-Yves David
Modified: 2015-08-30 00:00 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves David 2015-08-13 03:41 UTC
> hg log -r '.::wdir()'
zsh: segmentation fault  hg log -r '.::wdir()'
Comment 1 HG Bot 2015-08-22 14:11 UTC
Fixed by https://selenic.com/repo/hg/rev/44705659da94
Yuya Nishihara <yuya@tcha.org>
reachableroots: verify integer range of heads argument (issue4775)

Now it raises IndexError instead of SEGV for 'wdir()' as it was before.

(please test the fix)
Comment 2 Bugzilla 2015-08-30 00:00 UTC
Bug was set to TESTING for 7 days, resolving