Mailinglist Archive: zypp-devel (148 mails)
| < Previous | Next > |
[zypp-devel] Re: [zypp-commit] r9315 - /trunk/sat-solver/src/solvable.c
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Mon, 31 Mar 2008 14:33:13 +0200
- Message-id: <20080331123313.GB32561@xxxxxxxxxxxxx>
* mlandres@xxxxxxxxxxxxxxxx <mlandres@xxxxxxxxxxxxxxxx> [Mar 31. 2008 14:31]:
Shouldn't this be a 'snprintf' for security reasons ?
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
+ p = pool_alloctmpspace(pool, strlen(n) + strlen(e) + strlen(a) + 3);
+ sprintf(p, "%s-%s.%s", n, e, a);
Shouldn't this be a 'snprintf' for security reasons ?
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |