mirror of
https://github.com/gogs/gogs.git
synced 2026-07-01 00:29:38 +02:00
models/git_diff: add bound check
This commit is contained in:
@@ -307,7 +307,7 @@ func confAppIni() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "conf/app.ini", size: 14876, mode: os.FileMode(420), modTime: time.Unix(1487726358, 0)}
|
||||
info := bindataFileInfo{name: "conf/app.ini", size: 14876, mode: os.FileMode(420), modTime: time.Unix(1487727439, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user