Bug 6974

Summary: rpcgen -a generate a fancy Makefile filename
Product: glibc Reporter: Aurelien Jarno <aurelien>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu Last reconfirmed:
Attachments: Patch to fix the problem

Description Aurelien Jarno 2008-10-23 14:14:51 UTC
Using rpcgen -a option to generate all files, the generated Makefile gets a
fancy filename
 
$ rpcgen -a test.x
$ ls Makefile.*
$ Makefile.test\177

Also if the filename used as an input as no extension, one gets a segfaults:
$ rpcgen -a test
$ Segmentation fault

A patch to fix the problem will follow.
Comment 1 Aurelien Jarno 2008-10-23 14:15:18 UTC
Created attachment 3020 [details]
Patch to fix the problem
Comment 2 Ulrich Drepper 2008-10-31 14:39:15 UTC
Fixed in cvs.
Comment 3 Aurelien Jarno 2008-11-02 21:59:39 UTC
This bug is still present in the CVS. The change is mentionned in the Changelog
file, but the fix hasn't been committed.
Comment 4 Ulrich Drepper 2008-11-03 07:48:30 UTC
.