[Gelistirici] [paketler-commits] r62109 - playground/murat/applications/games/nimuh

Fatih Aşıcı fatih at pardus.org.tr
23 Mar 2009 Pzt 21:48:53 EET


Pazartesi 23 Mart 2009 tarihinde, Murat Şenel şunları yazmıştı: 
>                                 directory = getenv("HOME");
>                                 sprintf (tmp_dir, "mkdir %s/.%s",
> directory, CONFIG_DIR_UNIX); system(tmp_dir);
>                                 sprintf (directory, "%s/.%s/", directory,
> CONFIG_DIR_UNIX);

"man getenv" der ki:

"As  typically  implemented, getenv() returns a pointer to a string 
within the environment list.  The caller must take care not to modify this 
string, since that would change the environment of the process."

İkinci sprintf içinde directory hem hedef hem de kaynak olarak 
kullanılmış.

Ekteki yama sorunu çözüyor olmalı.

-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: fix-buffer-overflow.patch
Type: text/x-patch
Size: 844 bytes
Desc: kullanılamıyor
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20090323/6e2db8fe/attachment-0002.bin>
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20090323/6e2db8fe/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi