increase PassCmd output buffer even more
apparently, some XOAUTH2 tokens are at 2.4K already, so make it 8K to be *really* safe for a while. REFMAIL: <20200716000515.GA2111668@lysator.liu.se>
This commit is contained in:
		
							parent
							
								
									09540b5648
								
							
						
					
					
						commit
						3651c30296
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1893,7 +1893,7 @@ ensure_password( imap_server_conf_t *srvc )
 | 
				
			||||||
	if (cmd) {
 | 
						if (cmd) {
 | 
				
			||||||
		FILE *fp;
 | 
							FILE *fp;
 | 
				
			||||||
		int ret;
 | 
							int ret;
 | 
				
			||||||
		char buffer[2048];  // Hopefully more than enough room for XOAUTH2, etc. tokens
 | 
							char buffer[8192];  // Hopefully more than enough room for XOAUTH2, etc. tokens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (*cmd == '+') {
 | 
							if (*cmd == '+') {
 | 
				
			||||||
			flushn();
 | 
								flushn();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue