<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4976" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Ubuntu 22.04.5 LTS</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4976</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24258#p24258</link>
   <description>Well I will say that it did for sure take care of the snprintf issue Elwood lol. Did you notice that about the same issue in all of my display_prompt you might have an idea on? it uses a char *pbuf = buf; then snprintf into that pbuf will cause the same kind of crash. however i used a tempbuf and snprintf all the stuff into it and then mudstrcat it into pbuf and solved the issue.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24258#p24258</guid>
   <pubDate>Thu, 5 Dec 2024 17:10:16 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24257#p24257</link>
   <description>I&#039;d be very hesitant to alter the code in such a widely distributed package like that without knowing for an absolute certainty that it&#039;s a bug. If it&#039;s a bug, then it should get reported to the author assuming they&#039;re still maintaining it.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24257#p24257</guid>
   <pubDate>Thu, 5 Dec 2024 14:33:12 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24256#p24256</link>
   <description>[code]for (size_t j = 0; j &amp;lt; 32; j++) { snprintf(output + j * 2, 3, &amp;quot;%02x&amp;quot;, sha256sum[j]); } output[64] = &#039;\0&#039;;[/code] That should fix the snprintf issue :R</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24256#p24256</guid>
   <pubDate>Thu, 5 Dec 2024 05:55:56 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Elwood)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24255#p24255</link>
   <description>Not sure why LOP isn&#039;t liking me doing the display_prompt like smaugfuss does but oh well i just made a tempbuf and snprintf it to the tempbuf instead and at the end mudstrcat it into the pbuf and it solved the display_prompt issues lol.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24255#p24255</guid>
   <pubDate>Wed, 4 Dec 2024 20:07:14 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24254#p24254</link>
   <description>so for what ever reason any kind of snprintf in display_prompt will crash mine and the way the sha256 is will as well on any snprintf some odd stuff going on haha.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24254#p24254</guid>
   <pubDate>Wed, 4 Dec 2024 19:50:22 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24253#p24253</link>
   <description>lol so since they are fairly easy to replace I just replaced the sha256 with the ones from smaugfuss no issues.... right back to that crash though lol [code] #10 sha256_crypt (pwd=pwd@entry=0x7fffffffdb70 &amp;quot;sy95c2h5&amp;quot;) at sha256.c:217 217           snprintf( output + j * 2, 65, &amp;quot;%02x&amp;quot;, sha256sum[j] ); [/code] same thing it is showing slen as 63 and maxlen as 65 and down it goes. lol ive reinstalled the g++ already so im guessing its just got to be changed how i had the other one for now haha</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24253#p24253</guid>
   <pubDate>Wed, 4 Dec 2024 19:05:48 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24252#p24252</link>
   <description>ah so I should probably update it in LOP as well ty :) yea i have no clue it just seems to be those two places at least for now. is an odd one though.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24252#p24252</guid>
   <pubDate>Wed, 4 Dec 2024 18:55:30 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24251#p24251</link>
   <description>Yep, I realized it later after having downloaded LOP to see which one you had. That&#039;s the old copy of the module that turned out to not be generating correct hashes for the standard. It&#039;s why it got replaced in FUSS. Seems as though you have a deeper problem if you&#039;re getting buffer issues on the descriptor reads in comm.c.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24251#p24251</guid>
   <pubDate>Wed, 4 Dec 2024 15:34:01 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24250#p24250</link>
   <description>lol go figure it matches the way its listed in mine though [code] void SHA256_Final(unsigned char digest[32], SHA256_CTX * ctx) [/code] I have no clue what was up with those very two simple snprintfs though but it didn&#039;t like them at all lol. (wonder how many more it doesn&#039;t like I just haven&#039;t had it try and use)</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24250#p24250</guid>
   <pubDate>Wed, 4 Dec 2024 04:44:00 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Remcon)</author>
  </item>
  <item>
   <title>Ubuntu 22.04.5 LTS</title>
   <link>https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24248#p24248</link>
   <description>Probably not related, but in the SHA256 file you have, the parameters for sha256_final are backward. The module itself was something I found on a website rather than something anyone on a MUD team wrote. It&#039;s never misbehaved itself like this before.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/ubuntu-22045-lts-4976/&amp;p=24248#p24248</guid>
   <pubDate>Tue, 3 Dec 2024 21:36:55 CST</pubDate>
   <category>Coding</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
