[syslinux] PATCH: tftp-hpa: bug in remap code

H. Peter Anvin hpa at zytor.com
Wed Sep 22 19:16:53 PDT 2004


David Frederick Coulthart wrote:
> I was just trying to upgrade to tftp-hpa-0.39 & my remap file contained 
> the following line:
> 
> re      .*      \i/\0
> 
> 
> This worked with both versions 0.36 & 0.38, but caused the following 
> error message with 0.39:
> 
> in.tftpd[20958]: [ID 622042 daemon.error] r rules cannot be inverted, 
> line 1:    .*      \i/\0
> 
> 
> Looking at tftpd/remap.c, it appears that the check that was supposed to 
> return true if both RULE_REWRITE & RULE_INVERSE were true actually 
> returned true if either were true.  The attached patch fixes that.
> 

Right you are.  I will fix this and release a 0.40 asap.

	-hpa




More information about the Syslinux mailing list