mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:52:26 -05:00 
			
		
		
		
	[chore]: Bump github.com/miekg/dns from 1.1.51 to 1.1.52 (#1636)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.51 to 1.1.52. - [Release notes](https://github.com/miekg/dns/releases) - [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release) - [Commits](https://github.com/miekg/dns/compare/v1.1.51...v1.1.52) --- updated-dependencies: - dependency-name: github.com/miekg/dns dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								78aebf5088
							
						
					
				
			
			
				commit
				
					
						276d773438
					
				
			
		
					 17 changed files with 443 additions and 176 deletions
				
			
		
							
								
								
									
										8
									
								
								vendor/github.com/miekg/dns/msg_helpers.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/miekg/dns/msg_helpers.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -299,8 +299,7 @@ func unpackString(msg []byte, off int) (string, int, error) { | |||
| } | ||||
| 
 | ||||
| func packString(s string, msg []byte, off int) (int, error) { | ||||
| 	txtTmp := make([]byte, 256*4+1) | ||||
| 	off, err := packTxtString(s, msg, off, txtTmp) | ||||
| 	off, err := packTxtString(s, msg, off) | ||||
| 	if err != nil { | ||||
| 		return len(msg), err | ||||
| 	} | ||||
|  | @ -402,8 +401,7 @@ func unpackStringTxt(msg []byte, off int) ([]string, int, error) { | |||
| } | ||||
| 
 | ||||
| func packStringTxt(s []string, msg []byte, off int) (int, error) { | ||||
| 	txtTmp := make([]byte, 256*4+1) // If the whole string consists out of \DDD we need this many. | ||||
| 	off, err := packTxt(s, msg, off, txtTmp) | ||||
| 	off, err := packTxt(s, msg, off) | ||||
| 	if err != nil { | ||||
| 		return len(msg), err | ||||
| 	} | ||||
|  | @ -625,7 +623,7 @@ func unpackDataSVCB(msg []byte, off int) ([]SVCBKeyValue, int, error) { | |||
| } | ||||
| 
 | ||||
| func packDataSVCB(pairs []SVCBKeyValue, msg []byte, off int) (int, error) { | ||||
| 	pairs = append([]SVCBKeyValue(nil), pairs...) | ||||
| 	pairs = cloneSlice(pairs) | ||||
| 	sort.Slice(pairs, func(i, j int) bool { | ||||
| 		return pairs[i].Key() < pairs[j].Key() | ||||
| 	}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue