mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49b98e45bc
Fix #28328 ``` func (p *PullRequestComment) GetDiffHunk() string { if p == nil || p.DiffHunk == nil { return "" } return *p.DiffHunk } ``` This function in the package `go-github` may return an empty diff. When it's empty, the following code will panic because it access `ss[1]` |
1 year ago | |
---|---|---|
.. | ||
actions | 1 year ago | |
agit | 1 year ago | |
asymkey | 1 year ago | |
attachment | 1 year ago | |
auth | 1 year ago | |
automerge | 2 years ago | |
context | 1 year ago | |
convert | 1 year ago | |
cron | 1 year ago | |
externalaccount | 1 year ago | |
feed | 1 year ago | |
forms | 1 year ago | |
gitdiff | 1 year ago | |
indexer | 1 year ago | |
issue | 1 year ago | |
lfs | 2 years ago | |
mailer | 1 year ago | |
markup | 1 year ago | |
migrations | 1 year ago | |
mirror | 1 year ago | |
notify | 1 year ago | |
org | 1 year ago | |
packages | 1 year ago | |
pull | 1 year ago | |
release | 1 year ago | |
repository | 1 year ago | |
secrets | 1 year ago | |
task | 1 year ago | |
uinotification | 1 year ago | |
user | 1 year ago | |
webhook | 1 year ago | |
wiki | 1 year ago |